By Mian Ali Khalid · Published · How we build and test tools
How to use this online tally counter
- Press + to add the step, or − to subtract it. The step is 1 by default; choose 5 or 10, or type any whole number from 1 to 1000.
- Click the big number to focus it, then use the keyboard (see the table below) if you want to count without aiming at a button.
- Press Add counter for a second count, for example one for people in and one for people out. Rename a counter in the name box.
- Optionally set a goal. A progress bar and a line such as "2 to go (33%)" appear, and the line changes to "Goal reached" when you arrive.
- Made a mistake? Press Undo. Reset asks first, and a reset can be undone too.
- Use Large mode to fill the screen with the number, handy on a tablet held at arm's length.
What is a tally counter?
A tally counter is a device that counts something one step at a time. Wikipedia defines it as a mechanical, electronic or software device used to incrementally count something, typically fleeting. Mechanical versions are usually metal and cylindrical with a window showing the digits, a button that advances the count and a knob that resets it. Electronic versions show the count on an LCD and some add a decrement button. The article names counting people, animals or things that are coming and going from some location as the main application, and also lists inventory, traffic analysis, scientific research and industrial lines.
How tally marks group in fives
On paper, a tally is a row of vertical strokes. Wikipedia says tallies are typically clustered in groups of five, and that the fifth mark can cross the other four diagonally, forming a "five-bar gate". Other conventions exist: in Chinese-character cultures the character 正, which has five strokes, is written instead, and the dot-and-line method used in forestry uses dots for 1 to 4, lines for 5 to 8 and diagonals for 9 and 10. This page draws the five-bar gate. To read a count, multiply the crossed groups by five and add the loose strokes.
| Count | Crossed groups of five | Loose strokes |
|---|---|---|
| 0 | 0 | 0 |
| 4 | 0 | 4 |
| 5 | 1 | 0 |
| 13 | 2 | 3 |
| 27 | 5 | 2 |
| 100 | 20 | 0 |
For very large counts the page draws the first 60 groups and tells you in words how many more groups of five there are. Negative counts show the marks for the size of the number, labelled as minus.
Keyboard shortcuts
The keys work while the big count area has focus (click it or tab to it). They are ignored while you are typing in a name, step or goal box.
| Key | Action |
|---|---|
| Space, +, =, Arrow Up | Add the step |
| −, _, Arrow Down | Subtract the step |
| Escape | Leave large mode |
| Tab | Move between the buttons and boxes |
What people count: examples
| Use | Suggested setup |
|---|---|
| Headcount at an event or class | Two counters, "In" and "Out", or one counter using + and − |
| Laps in a pool or on a track | One counter, step 1, a goal equal to the planned laps |
| Stock or inventory check | One counter per item, step 10 for boxes of ten |
| Birds or other wildlife seen | One counter per species, then copy the log as CSV |
| Reps in a workout | Step 1, a goal for the set |
| Repeated phrases or breaths | Step 1 with the goal set to your target, large mode on |
| Game points | One counter per player |
Tally counter vs click counter vs people counter
These are mostly different names for the same thing. A tally counter is the general term, and the one Wikipedia uses. A click counter, tap counter or clicker counter stresses how it is operated: one press or tap per item. A people counter names the job, and the hand-held kind is simply a tally counter used at a door. Automatic people counters that use sensors or cameras are a different product: this page counts only what you press.
The log and CSV export
Every change is logged with your local date and time, the change and the new total, up to the last 500 actions per counter. Copy log as CSV puts the log on your clipboard with the columns time, counter, action, change and total, ready to paste into a spreadsheet. Text that starts with =, +, -, @, a tab or a line break (for example a counter you named =SUM) is prefixed with an apostrophe to reduce the risk of formula injection. OWASP notes that this is not reliable in Microsoft Excel after the file is saved and reopened, and the apostrophe stays visible in the cell, so check counter names before sharing a CSV.
Counting in a spreadsheet instead
A spreadsheet can tally too if you type one row per event. Microsoft documents COUNTIF(range, criteria), which counts the cells in a range
that meet one condition: =COUNTIF(A2:A5,"apples") counts the cells in A2:A5 that equal "apples" (not case sensitive). That suits counts you analyse afterwards.
For counting live, one key press per item is quicker, and the CSV export lets you move the log into a spreadsheet afterwards.
What this tally counter does not do
- It does not sync between devices or users. Two phones counting the same crowd give two separate totals.
- Counts live in your browser's local storage. Clearing site data, or using a private window that discards it, erases them.
- It does not detect anyone or anything automatically. Every count is a press.
- If the page is open in two tabs, the last tab to save overwrites the other, so count in one tab at a time.
- Counts are whole numbers between −999,999,999 and 999,999,999, with at most 20 counters.
- Undo goes back up to 100 actions in the current session. It is cleared when you close the page, although the counts themselves are kept.
FAQ
What is a tally counter?
A tally counter is a device or program that adds one to a running total each time you press it. Wikipedia describes it as a mechanical, electronic or software device used to incrementally count something, typically fleeting, and says its main application is counting people. This page is the software version: press + or the Space key and the total goes up by your step.
Is a click counter the same as a tally counter?
For practical purposes yes. "Click counter", "tap counter" and "clicker counter" all describe pressing a button to add one, and this page works as each of them. The only difference is the wording people prefer. If you want to measure how fast you can click, use a click speed test instead.
How do tally marks work?
Tally marks are drawn as vertical strokes, and the fifth stroke is drawn across the previous four so that each group of five is easy to read. Wikipedia calls this a five-bar gate. To read a tally, multiply the number of crossed groups by five and add the loose strokes. The tool draws these marks for the selected counter.
Can I use this as a people counter?
Yes, for a manual headcount: one person presses + for each person who enters and - when someone leaves. It is a hand count, so it is only as accurate as the person pressing. It is not connected to a door sensor or camera, and it cannot add counts from two devices together.
Can I make a tally counter in Excel?
You can build a simple one by typing one row per event and counting the rows that match. Microsoft documents COUNTIF(range, criteria) for counting cells that meet a condition, for example =COUNTIF(A2:A5,"apples") returns the number of cells in A2:A5 that equal apples. A spreadsheet needs typing for every event, while this page counts with one key press.
Why do some people use tally counters for prayer or meditation?
Wikipedia notes that tally counters have been used in several religions, often replacing traditional prayer beads, and that in modern Muslim practice prayers are sometimes kept track of with electronic tally counters. The same idea applies to any repeated phrase or breath you want to count without losing your place. This page makes no claim about any practice: it only counts.
What is the best free tally counter app?
The best one is the one you will actually have to hand. A web page needs no install and works on a phone, tablet or laptop, which is the advantage of an online tally counter. A phone app can be better if you need counts to survive clearing browser data or to sync between devices, which this page does not do.
Will I lose my count if I close the page?
No. The counters, goals and logs are saved in your browser on this device and reload next time. They are lost if you clear site data, use a private window that discards storage, or open the page on another browser or device. Copy the log as CSV if you need a record elsewhere.
How high can the tally counter go?
Each counter stops at 999,999,999, positive or negative, and counts are always whole numbers. You can keep up to 20 counters, and each one keeps its last 500 actions in the log.
Sources
- Tally counter, Wikipedia: definition, mechanical and electronic types, uses and religious use.
- Tally marks, Wikipedia: groups of five, the five-bar gate, the 正 character and the dot-and-line method.
- COUNTIF function, Microsoft Support: syntax and the text-matching example.
- RFC 4180, IETF: the CSV format used by the log export.
- CSV Injection, OWASP: the risk of cells that start with = + - @, tab or line breaks, and the apostrophe mitigation with its limits.