API & MCP

Everything a person can do on One-Rep-Max & Plate Loader, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

One-Rep-Max & Plate Loader

Estimates your one-repetition maximum from the weight and reps of a set to failure (or with an RPE) with the Epley, Brzycki, Lander, Lombardi, Mayhew, O'Conner and Wathan equations and their average, prints a percentage table and an RPE table, and tells you which plates to put on each side of a kg or lb bar using only the plates you actually have.

Inputs of One-Rep-Max & Plate Loader
FieldTypeDefaultDescription
weight (required)number100Weight lifted
reps (required)integer5Repetitions. Reps completed in the set. Estimates are most reliable up to about 10 reps.
unitselect (kg, lb)"kg"Unit
rpenumber—RPE of the set. Optional (6–10). 10 = to failure; 8 = two more reps were possible. Reps in reserve are added before estimating.
targetWeightnumber—Weight to load. Optional total bar weight for the plate loader.
targetPercentnumber—Or: percentage of 1RM to load. Used when no weight to load is given; default 100% of the average estimate.
barWeightnumber—Bar weight. Default 20 kg or 45 lb.
collarWeightnumber0Collars (both together)
platestable—Plates available. Plate weight and how many you have in total (both sides). Empty = a standard set (kg: 25–1.25, lb: 45–2.5).

Example request

100 kg × 5 reps, load 85%

curl -X POST https://onerepmaxcalculator.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"weight":100,"reps":5,"unit":"kg","targetPercent":85}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "one-rep-max-calculator": { "type": "http", "url": "https://onerepmaxcalculator.usefulweb.site/mcp" }
  }
}