Free pill counter: snap a photo, get the count
Spread the pills in one layer, take a photo, and every tablet and capsule gets a dot. It runs in your browser, so the photo never leaves your phone.
- Free, no sign-up
- Works on any phone
- Photo never uploaded
How to count pills from a photo
- Spread them out. Tip the pills onto a counting tray or a plain plate and spread them into one layer, with no pill on top of another.
- Take the photo from above. Hold your phone flat over the tray with every pill inside the frame. Tap Choose photo above, then take a new picture or pick one you already have.
- Check the dots. Each pill it counted gets a dot. Orange rings mark the spots it wasn't sure about: tap to add a pill it missed or remove a dot that's wrong.
No photo handy? Try the sample tray under the photo box to see how it works.
Your photo stays on your phone
Most "AI" tools send your picture to a server. This one doesn't. The counting model downloads once and runs inside your browser, on your own device. A photo of a prescription, a label or a patient's medication is never uploaded, stored or seen by anyone.
That also means it works the same on an Android phone, an iPhone, a tablet or a laptop, with nothing to install and no account to make.
Five things that make the count right
- One layer. A pill hidden under another can't be counted. Push heaps apart with a spatula or a card.
- Straight down, not at an angle. From the side, pills at the front hide the ones behind them.
- All of them in the frame. A pill cut off by the edge of the photo is flagged for you to decide rather than counted.
- No flash. Glare on coated tablets can wipe out their outline. Room light or a window works better.
- Split very big counts. Small tablets packed edge to edge are the hardest case. Two trays of 60 beat one heap of 120.
The full routine, including what to do when the count and your own count disagree, is in how to count pills with your phone camera.
Check every count
CountPill gives you a fast second count, not a guarantee. It is not a medical device, it does not identify medicines, and it does not replace your pharmacy's counting procedure or a pharmacist's check. Look over the result before you use the number, starting with any orange rings.
How accurate is it? We ran this exact counter in a browser on 299 photos of counting trays the model never trained on (70 of them empty). Before any checking, the count was exact on 87% of them and within one pill on 94%. On 145 harder, mixed photos of pills from the web it was exact on 72%. That is why the Check step matters.
Who uses a pill counter
Free web counter or the CountPill app?
The web counter is free for every photo and always will be. The iPhone app is for people who count pills every day and need a record.
| Free web counter | CountPill iPhone app | |
|---|---|---|
| Count pills from a photo | Yes | Yes |
| Tap to fix, unsure spots marked | Yes | Yes |
| Photos uploaded | Never | Never |
| Live count from the camera | No | Yes, with a level |
| Check against the Rx quantity | No | Yes |
| Stock-bottle barcode and Rx label reading | No | Yes, offline |
| Double count for controlled drugs | No | Yes |
| History, search by drug, PDF and CSV reports | No | Yes |
| Works on | Any phone or computer | iPhone, iOS 17 or later |
Guides
Questions
Is this pill counter really free?
Yes. No account, no install and no limit on how many photos you count.
Is my photo uploaded?
No. The counting model runs in your browser, on your own phone or computer. The photo, and any label in it, is never sent anywhere.
Does it work on Android?
Yes. The web counter runs in any current browser: Chrome on Android, Safari on iPhone, and desktop browsers. The CountPill app is iPhone-only for now.
Can I rely on the count for dispensing?
Use it as a check, not as the record. CountPill is not a medical device and does not replace your pharmacy's counting procedure or a pharmacist's verification. Look over every count, starting with the orange rings.
Can it tell me which pill it is?
No. It counts tablets and capsules. It does not identify a drug, a strength or a dose.
What kind of photo works best?
Pills in one layer on a plain tray, taken from straight above, with every pill inside the frame and no flash glare. Heaps, blister packs and pills seen from the side are where it misses.
Can I fix a wrong count?
Yes. Tap a pill it missed to add a dot, or tap a dot to remove it. The Check step takes you to the spots it was unsure about first.
What does the app add?
The CountPill iPhone app counts live from the camera, keeps a searchable history of every count, checks the count against the Rx quantity, reads stock-bottle barcodes, asks for a double count on controlled drugs and exports PDF and CSV reports.
The CountPill iPhone app · coming soon
Counting pills every day? The app keeps the record.
- Live count from the camera, with a level so you shoot straight down.
- Rx quantity check: "Need 4 more", "Matches" or "2 too many", as you count.
- Stock-bottle barcode and Rx label reading to catch the wrong bottle.
- Double counts for controlled drugs, with both counts kept.
- History, search, and PDF and CSV reports with photos, lot, expiry and initials.
One email when it's on the App Store. No newsletter. Tell us what you need in the same form.