tabacus

Welcome to tabacus!

Thanks for trying out our beta!

As a sign of our gratitude, we've given you free access to all Pro features for the duration of the beta, and you'll get an exclusive discount when the app is fully released.

Expect frequent updates and fixes. We're working hard to make the app as good as possible, so any feedback is highly appreciated!

By using tabacus you agree to the Terms of Service and Privacy Policy.

Send feedback

Your profile

A square crop is kept, 256 × 256.
Change password

Leave both blank to keep your password. You don't need your old one: choose a new password here and save. Never set one? This sets it.

Clear this sheet?

You can undo it for a few seconds afterward.

Delete your account?

This permanently deletes the account and everything saved to it: your synced sheets, equations, materials and constants, your profile and picture, saved files, and connected AI apps. It can't be undone.

The work open in this browser stays here.

Save document

Open a document

Draw a molecule

Click an atom to grow a chain, drag from it to draw a bond, click a bond to make it double or triple. Keys: C N O S, 1 2 3 for bonds, B for benzene, E to erase.

Export this tab


    

Chi-square calculator

The chi-square statistic measures how far observed counts are from expected ones. Tabacus works out each (O − E)²/E term and has the degrees-of-freedom formula for contingency tables.

Answer. χ² = 3.12 with 3 degrees of freedom, p ≈ 0.37, so no evidence that the categories differ.

Worked solution

Goodness of fit: χ² = Σ (O − E)² / E
Observed sales on 4 days: 18, 30, 27, 25 (100 total). If every day were equal, E = 25 each.

(18 − 25)² / 25 = 49 / 25 = 1.96
(30 − 25)² / 25 = 25 / 25 = 1.00
(27 − 25)² / 25 =  4 / 25 = 0.16
(25 − 25)² / 25 =  0 / 25 = 0.00
χ² = 3.12

Degrees of freedom: categories − 1 = 3. Critical value at α = 0.05: 7.815.
3.12 < 7.815, so do not reject H₀ (p ≈ 0.37).

Frequently asked questions

What are the degrees of freedom?

For goodness of fit, the number of categories minus 1. For an r × c contingency table, (r − 1)(c − 1).

When is the chi-square test not valid?

When expected counts are small. A common rule is that every expected count should be at least 5.

Related tools

All tabacus tools

The calculator above is already loaded with this problem, edit it or type your own.