← Julien Reszka's Github Pages

🏋️ Squat Counter

Uses your phone's accelerometer to detect and count squats automatically — works best held in your hand, since your pocket muffles and dampens the motion.

Checking device support…
0
squats
0 today
Sensitivity & advanced settings
Daily history
    Figure
    5.4x

    Higher risk of death within 6 years for adults who scored lowest on a simple sit-to-stand test, versus those who scored highest, among 2,002 adults.

    Source: Brito, L.B.B. et al., Ability to Sit and Rise from the Floor as a Predictor of All-Cause Mortality, European Journal of Preventive Cardiology, 2014. Via julienreszka.com.

    How to use it

    1. Tap Enable Motion Sensors (iPhone will ask permission).
    2. Hold the phone firmly in your hand — a pocket muffles the motion and tends to miss reps.
    3. Tap Start, stand still for a second, then squat away.
    4. Each rep gets a beep/vibration and a live count. If it misses a rep or over-counts, use −1 / +1 or adjust sensitivity above.

    Detection is based on the magnitude of acceleration, so it works regardless of which way the phone is oriented — but a firm grip in hand gives the cleanest signal. It needs a real phone/tablet with a motion sensor — this won't work on a laptop.

    Daily totals are saved only in this browser's local storage on this device — clearing site data or switching browsers/phones will lose the history.