Install
openclaw skills install @arbazex/steps-to-calories-calculatorCalculates calories burned walking from body weight and step count, using a peer-reviewed biomechanics formula (Weyand, Smith, Puyau & Butte, 2010, Journal of Experimental Biology) rather than a generic guess. Asks the user for body weight and step count first, converts units if needed, then computes an evidence-based estimate with its margin of error clearly stated. Use when a user asks how many calories they burned walking, wants a steps-to-calories converter, a walking calorie burn calculator, daily step count energy expenditure, or "how many calories do I burn per 1000/10000 steps".
openclaw skills install @arbazex/steps-to-calories-calculatorEstimates net calories burned from walking using a formula derived from a controlled treadmill study of 48 subjects spanning children to adults (Weyand et al., 2010, J Exp Biol 213:3972–3979, DOI: 10.1242/jeb.048199). Fully self-contained arithmetic — no external API or device data required.
Never state a calorie number before you have both required inputs, confirmed in a consistent unit. Ask conversationally, not as a form dump.
weight_kg = weight_lb / 2.20462.Ask only if the user wants a more calibrated answer, don't block the calculation on it:
If the user is far outside these conditions (heavy incline, loaded backpack, very young child, very elderly with an atypical gait), say so explicitly: the formula will still run, but flag that the study didn't validate those conditions and the estimate is less reliable there.
Formula (see sources section below for the full derivation and citation):
calories_kcal = 2.74 × weight_kg × (steps ÷ 2) ÷ 4184
Where:
2.74 = mean net metabolic energy cost of walking, in joules per kilogram of body mass per stride (J·kg⁻¹·stride⁻¹), reported in the paper as 2.74±0.12 and found invariant across subjects aged 5–32 spanning a 6-fold range in body mass, when walking at their own economical speed on a level, firm surface.steps ÷ 2 = number of full strides (a stride = one complete gait cycle = both feet, i.e. 2 steps).4184 = joules per kilocalorie (1 kcal = 4184 J), used to convert the result from joules to the everyday "calories" people mean when they say diet/exercise calories (which are technically kilocalories).Show your work: state the weight in kg, the stride count, and the resulting kcal, so the user can audit the math.
Always include, in plain language:
Weight: 70 kg. Steps: 8,000.
calories = 2.74 × 70 × (8000 ÷ 2) ÷ 4184
= 2.74 × 70 × 4000 ÷ 4184
= 767,200 ÷ 4184
≈ 183 kcal
Weyand, P. G., Smith, B. R., Puyau, M. R., & Butte, N. F. (2010). The mass-specific energy cost of human walking is set by stature. Journal of Experimental Biology, 213(23), 3972–3979. DOI: 10.1242/jeb.048199. Open access: https://journals.biologists.com/jeb/article/213/23/3972/10061/
"the mass-specific metabolic energy expended per stride at the most economical walking speeds did not differ among the four stature groups... varied by an average of only 4.4%"
Quantified value: 2.74 ± 0.12 J·kg⁻¹·stride⁻¹ — i.e., every kilogram of body mass costs about 2.74 joules of net metabolic energy per stride, essentially regardless of a person's age, height, or body mass, when walking at a normal, self-selected pace on level ground.
A stride in the paper's gait terminology is one full cycle of a walking gait — left foot strike to left foot strike — which corresponds to 2 steps. That's why the formula divides step count by 2 to get stride count.
The study reports energy in joules. 1 kilocalorie (the "Calorie" used on nutrition labels and in everyday fitness talk) = 4184 joules exactly, by definition. Dividing the joule total by 4184 gives kcal.
calories_kcal = 2.74 × weight_kg × (steps ÷ 2) ÷ 4184
This is mathematically equivalent to: energy_per_stride (J) × number_of_strides ÷ joules_per_kcal.
This skill estimates the energy cost of walking itself. It's a research-grounded fitness estimate, not a substitute for direct calorimetry, a clinical metabolic assessment, or professional nutrition/medical advice.