Online Counter
When you are counting people arriving, repetitions or items in a stack, a tally you can update without looking down is more useful than a calculator. Set a step size and add or subtract with buttons or keys.
How to Use
- Set Step size from 1 to 1000; it applies to both Add and Subtract.
- Use + Add and − Subtract. By default the count stops at zero; tick Allow negative counts if you need to net removals against additions.
- Click the counter panel to focus it, then press + or = to add, - or _ to subtract and R to reset. Shortcuts do not fire while a field is focused.
- Tick Keep count after refresh to store the current value locally. Toggling the checkbox keeps the number you already have.
Practical Examples
- Counting attendees at a door with step 1 and the keyboard so you can keep watching the entrance.
- Tallying stock in packs of 12 by setting Step size to 12.
- With Allow negative enabled, subtracting more than you added shows a negative net count.
Understanding the Result
Each action adds or subtracts the step value and immediately redraws the total. The negative-count switch controls whether subtraction can cross zero; the default keeps the tally at zero.
Keyboard shortcuts are scoped to the counter panel. Click the panel first; typing in an input field will not change the count.
Persistence writes the current count to this browser's localStorage and removes it when you untick the option. Changing the setting never clears the live tally.
Limitations and Useful Notes
- This is a manual tally, not analytics. It counts what you press, not page views or other clicks.
- localStorage is per browser and device. The value does not sync, and clearing site data removes it.
- Step size is limited to 1–1000 and applies equally to Add and Subtract.
- Keyboard shortcuts need the counter panel focused, so they will not interfere with typing in other fields.
- There is no history, timestamp or export of individual increments.
Common Questions
What keyboard shortcuts are available?
Press + or = to add one step, - or _ to subtract one step and R to reset. Click the counter panel first so it has focus; typing in a field will not change the count.
Can the count go below zero?
Not by default. Tick Allow negative counts if you need a net figure that can cross zero.
Does toggling persistence reset my count?
No. The current tally is kept; the checkbox only decides whether it is stored for the next page load.