Calculator in Training and nutrition
Velocity-based 1RM
Estimates a squat or bench one-rep max from the load and the bar's mean velocity, by published equations.
- Changed 4 Dec 2026
- 11 test cases pass
- Version 1
- About 3,400 tokens
- Needed by the small model tested, 4 Dec 2026
In short
| Formula | squat: predictedPctOf1Rm = −12.87 × v^2 − 46.31 × v + 116.3, with v = bar_speed_m_per_sbench: predictedPctOf1Rm = 7.5786 × v^2 − 75.865 × v + 113.02, with v = bar_speed_m_per_srefuse a result outside 40 to 100 (squat) or 30 to 100 (bench), the ranges the equations were fitted onestimated1Rm = weight_kg ÷ (predictedPctOf1Rm ÷ 100)ci95Low = weight_kg ÷ (min(100, predictedPctOf1Rm + 2×SEE) ÷ 100), ci95High = weight_kg ÷ ((predictedPctOf1Rm − 2×SEE) ÷ 100), SEE 4.31 squat, 3.77 bench |
| Convention | the factor 2 is the usual normal approximation (1.96 rounded) for a range holding about 95% of predictions; the papers give the SEE, not this factor. |
| Units | kilograms and mean concentric velocity in metres per second in; percent and kilograms out. |
| Defaults | bar_speed_m_per_s 0.5 (0.05 to 2), weight_kg 100 (1 to 500), lift_type squat (squat or bench). |
| Worked example | a squat of 140 kg whose fastest rep moved at 0.62 m/s. predictedPctOf1Rm = −12.87 × 0.3844 − 46.31 × 0.62 + 116.3 = 82.64estimated1Rm = 140 ÷ 0.8264 = 169.4ci95Low = 140 ÷ 0.9126 = 153.4, ci95High = 140 ÷ 0.7402 = 189.1 |
By hand: yes. A small model got these answers from the formulas above, without running code.
Say this to your agent
Use https://mysi.dev/velocity-based-1rm/ to estimate my 1RM: squat 140 kg, fastest rep at 0.62 m/s mean velocity. Nothing to install, no key, no settings. An agent that can open web pages and run Python opens the page, runs the tested code in its own sandbox and gives you the answer.
The code
Copy this into your Python tool. Run velocity_based_1rm_check() first, then call velocity_based_1rm() with your numbers. Give the answer with the cite line.
"""Velocity-based 1RM: estimates the one-rep max from the load and the mean concentric velocity of
one rep, by the published group load-velocity equations for the full back squat (Sanchez-Medina
et al. 2017, eq. 2) and the bench press (Gonzalez-Badillo and Sanchez-Medina 2010, MV equation).
Inputs: bar_speed_m_per_s (mean concentric velocity, 0.05 to 2, default 0.5; refused where the
equation gives a load outside the range the paper fitted: 40 to 100% of 1RM for the squat, about
0.323 to 1.228 m/s, and 30 to 100% for the bench, about 0.175 to 1.251 m/s), weight_kg (1 to 500,
default 100), lift_type (squat or bench, default squat).
Returns: predictedPctOf1Rm (percent), estimated1Rm (kg), ci95Low, ci95High (kg: the load over
the percentage plus and minus 2 standard errors of the estimate, the low end at most 100%).
mysi, Velocity-based 1RM, mysi.dev/velocity-based-1rm, version 1, changed 2026-12-04. MIT.
"""
import math
def _velocity_based_1rm_num(name, value, low, high):
if isinstance(value, bool) or not isinstance(value, (int, float)) or not low <= value <= high:
raise ValueError(f"{name} must be a number from {low} to {high}")
return float(value)
def _velocity_based_1rm_speed(a, b, c, pct):
# the speed at which a v^2 + b v + c equals pct, on the falling branch of the curve
return (-b - math.sqrt(b * b - 4 * a * (c - pct))) / (2 * a)
def velocity_based_1rm(bar_speed_m_per_s=0.5, weight_kg=100, lift_type="squat"):
if lift_type not in ("squat", "bench"):
raise ValueError("lift_type must be one of: squat, bench")
v = _velocity_based_1rm_num("bar_speed_m_per_s", bar_speed_m_per_s, 0.05, 2)
load = _velocity_based_1rm_num("weight_kg", weight_kg, 1, 500)
if lift_type == "squat": # Sanchez-Medina et al. 2017, eq. 2 on MV: R2 0.948, SEE 4.31%,
a, b, c, see, lowest = -12.87, -46.31, 116.3, 4.31, 40 # fitted on 40 to 100% 1RM
else: # Gonzalez-Badillo and Sanchez-Medina 2010, eq. on MV: R2 0.979, SEE 3.77%,
a, b, c, see, lowest = 7.5786, -75.865, 113.02, 3.77, 30 # fitted on 30 to 100% 1RM
pct = a * v * v + b * v + c
# range: pct +/- 2 SEE, the normal approximation (1.96 rounded) for ~95%; a convention, the
# papers give only the SEE
if not lowest <= pct <= 100:
fast = _velocity_based_1rm_speed(a, b, c, lowest)
slow = _velocity_based_1rm_speed(a, b, c, 100)
raise ValueError(f"bar_speed_m_per_s must be from {slow:.3f} to {fast:.3f} m/s for "
f"{lift_type}: the equation was fitted on {lowest} to 100% of 1RM")
return {"predictedPctOf1Rm": pct, "estimated1Rm": load / (pct / 100),
"ci95Low": load / (min(100.0, pct + 2 * see) / 100),
"ci95High": load / ((pct - 2 * see) / 100)}
VELOCITY_BASED_1RM_CASES = [
({"bar_speed_m_per_s": 0.62, "weight_kg": 140, "lift_type": "squat"},
{"predictedPctOf1Rm": 82.6406, "estimated1Rm": 169.408, "ci95Low": 153.407}),
({"bar_speed_m_per_s": 0.38, "weight_kg": 85, "lift_type": "bench"},
{"predictedPctOf1Rm": 85.2856, "estimated1Rm": 99.6651, "ci95Low": 91.5695}),
({"bar_speed_m_per_s": 1.0, "weight_kg": 60, "lift_type": "squat"},
{"predictedPctOf1Rm": 57.12, "estimated1Rm": 105.042}),
]
def velocity_based_1rm_check(tolerance=1e-3):
for given, want in VELOCITY_BASED_1RM_CASES:
got = velocity_based_1rm(**given)
for name, value in want.items():
close = abs(got[name] - value) <= tolerance * max(1, abs(value))
assert close, (name, got[name], value)
return "ok"
if __name__ == "__main__":
import json, sys
velocity_based_1rm_check()
given = dict(a.split("=", 1) for a in sys.argv[1:] if "=" in a)
js = lambda v: v.lstrip("-")[:1].isdigit() or v[:1] in '[{".' or v in ("true", "false", "null")
given = {k: json.loads(v) if js(v) else v for k, v in given.items()}
if given:
print(json.dumps(velocity_based_1rm(**given))) More test values
| What goes in | What comes out | Where the answer is from |
|---|---|---|
| bar_speed_m_per_s 0.33, weight_kg 200, lift_type squat | predictedPctOf1Rm 99.616157, ci95Low 200 | Eq. 2 gives 99.616% at 0.33 m/s; 99.616 + 8.62 is above 100, so the low end is the load itself |
| bar_speed_m_per_s 0.8, weight_kg 60, lift_type bench | predictedPctOf1Rm 57.178304, estimated1Rm 104.935 | Gonzalez-Badillo and Sanchez-Medina 2010 MV equation: 7.5786 x 0.64 - 75.865 x 0.8 + 113.02 = 57.1783% |
Planning estimates only, not coaching advice.
What it takes
| Input | Meaning | Default | Allowed |
|---|---|---|---|
| bar_speed_m_per_s | Mean concentric velocity of the fastest rep, m/s, for both lifts. Refused where the equation gives a load outside the range it was fitted on: 40 to 100% of 1RM for the squat (about 0.323 to 1.228 m/s), 30 to 100% for the bench (about 0.175 to 1.251 m/s) | 0.5 | 0.05 to 2 |
| weight_kg | Load on the bar, kg | 100 | 1 to 500 |
| lift_type | squat for the full back squat, bench for the bench press | squat | squat, bench |
What it returns
| Output | Meaning |
|---|---|
| predictedPctOf1Rm | The percentage of 1RM the load represents at that speed, 40 to 100 (squat) or 30 to 100 (bench) |
| estimated1Rm | Estimated one-rep max, kg |
| ci95Low, ci95High | The load divided by the percentage plus and minus 2 standard errors of the estimate (4.31 points squat, 3.77 bench; 2 is the normal-approximation convention for about 95%), kg; the low end is at least the load |
Where the method comes from
In a lift done with maximal intent, the bar slows in a nearly fixed way as the load approaches the one-rep max, so the mean concentric velocity of one fast rep predicts the percentage of 1RM it represents. Both equations here take mean concentric velocity. The squat equation is equation 2 of Sánchez-Medina and others (Sports Medicine International Open, 2017), fitted on 80 strength-trained men from 40% to 100% of 1RM, since lighter squats were left out (R² 0.948, standard error 4.31 points; the 1RM moved at 0.32 m/s). The bench press equation is the mean-velocity one of González-Badillo and Sánchez-Medina (International Journal of Sports Medicine, 2010), fitted on 120 men on a Smith machine from 30% to 100% of 1RM (R² 0.979, standard error 3.77 points; the 1RM moved at about 0.16 m/s). A speed whose equation result falls outside the fitted range is refused rather than extrapolated; at the papers' own mean 1RM velocities (0.32 and 0.16 m/s) the equations give just over 100%, so such a rep is refused too. The range is the percentage plus and minus two standard errors of the estimate: the papers publish the standard error and draw 95% prediction limits, but not this factor, which is the usual normal approximation (1.96 rounded to 2), so the range is a convention, not the papers' own interval. These are group equations: an individual's own load-velocity profile can sit several points away.
Sources
- Sánchez-Medina, Pallarés, Pérez, Morán-Navarro and González-Badillo, Estimation of relative load from bar velocity in the full back squat exercise, Sports Medicine International Open 1:E80-E88published 2017
- González-Badillo and Sánchez-Medina, Movement velocity as a measure of loading intensity in resistance training, International Journal of Sports Medicine 31(5):347-352published 2010
Tested
Tested 4 Dec 2026: claude-haiku-5-5 was right on 0 of 3 questions without this page and 3 of 3 with it; claude-fable-5-2 was right on 3 of 3 questions without this page, so it was not tested with it.
Changes
- Moved from aifithub.io as Python. Squat answers unchanged except that they are no longer rounded to one decimal. Deadlift and overhead press are gone (straight lines the old site drew, not published equations), and with them publishedEquation. The training zone, the zone table and the echoed inputs are no longer returned. After review, the bench press now uses the paper's equation on mean velocity (7.5786, −75.865, 113.02; SEE 3.77%) instead of the one on mean propulsive velocity, so the one speed input means mean velocity for both lifts, bench answers differ from the old engine's by up to about 1 point and the bench confidence range is returned; the old bench regression cases are replaced by hand cases. The refusal below 0.7 × the 1RM velocity, a factor nobody published, and the 100% cap are gone; a speed is refused only where the equation gives a load outside the range the paper fitted (40 to 100% of 1RM for the squat, 30 to 100% for the bench); so a squat at 0.30 m/s, 101.25% by the equation, is now refused and its case is dropped.4 Dec 2026
Cite as: mysi, Velocity-based 1RM, mysi.dev/velocity-based-1rm, version 1, changed 2026-12-04. Code MIT.