Free online squat counter
This browser-based squat counter uses MediaPipe Pose to track body landmarks from your camera. It estimates knee and hip angles and uses those measurements to recognize the downward and upward phases of a squat.
How to use the squat counter
- Place your device so your full body is visible.
- Tap Start Camera and allow camera access.
- Stand upright and let the pose tracker find your body.
- Squat down until the detector recognizes the lower position.
- Stand back up. A completed repetition is added.
How squat detection works
MediaPipe Pose identifies landmarks such as your shoulders, hips, knees and ankles. The tool calculates the angle at the knee using the hip–knee–ankle points and also calculates a hip angle. A simple state machine looks for a transition from standing to a sufficiently deep squat and then back to standing before adding one repetition.
Tips for better tracking
- Keep your entire body inside the frame.
- Use good, even lighting.
- Avoid objects blocking your legs.
- Stand far enough away that your feet and head are visible.
- A side or three-quarter position can make leg angles easier to interpret.
Privacy and limitations
Pose estimation is performed in your browser after the MediaPipe model loads. Camera access requires your permission. Results are approximate and can vary with camera placement, lighting, clothing, occlusion and pose. This tool is for general workout feedback and is not a medical or certified fitness measurement system.
Squat Counter FAQ
How does the squat counter work?
MediaPipe Pose detects body landmarks, then the tool calculates knee and hip angles and recognizes squat movement using those measurements.
What camera angle works best?
A side or three-quarter view is often helpful because it makes the leg joints easier to distinguish.
Why did it miss a squat?
The full body may not have been visible, the squat may not have reached the detection threshold, or pose landmarks may have been unreliable.
Is this a professional fitness tracker?
No. It is a convenient browser-based repetition counter and should not be treated as a certified exercise measurement or medical device.