{"success":true,"version":"v1","request":{"tool":"get_calculator_schema","calculator_id":"speed-distance-time"},"result":{"entity_type":"calculator","id":"speed-distance-time","calculator_id":"speed-distance-time","canonical_url":"https://tttkmbb.com/physics/speed-distance-time","name":"Speed, Distance & Time Calculator","title":"Speed Distance Time Calculator – Solve v = d / t for the Missing Value (m/s, km/h, mph)","category":"physics","category_name":"Physics","tool_name":"solve_speed_distance_time","featured_mcp_tool":false,"description":"Solves the uniform-motion relation speed = distance / time for whichever of the three quantities is omitted, and reports the speed in m/s, km/h and mph and the time as h:mm:ss.","use_when":"You know any two of distance, elapsed time and average speed for travel at constant (average) speed and need the third.","do_not_use_when":"Speed changes during the motion (use acceleration or free-fall), or you want a running pace per km or mile (use running-pace).","inputs":[{"name":"distance_m","label":"Distance","type":"number","unit":"m","required":false,"min":0,"description":"Distance travelled in metres (1 km = 1000 m, 1 mile = 1609.344 m). Omit to solve for it.","example":100},{"name":"time_s","label":"Time","type":"number","unit":"s","required":false,"exclusive_min":0,"description":"Elapsed time in seconds (1 h = 3600 s). Omit to solve for it.","example":9.58},{"name":"speed_m_s","label":"Speed","type":"number","unit":"m/s","required":false,"min":0,"description":"Average speed in metres per second (km/h ÷ 3.6, mph × 0.44704). Omit to solve for it."}],"outputs":[{"name":"solved_for","label":"Solved for","type":"string","decimals":4,"description":"Which input was computed: distance_m, time_s or speed_m_s."},{"name":"distance_m","label":"Distance","type":"number","unit":"m","decimals":4,"description":"Distance travelled."},{"name":"distance_km","label":"Distance","type":"number","unit":"km","decimals":4,"description":"Distance in kilometres."},{"name":"time_s","label":"Time","type":"number","unit":"s","decimals":4,"description":"Elapsed time."},{"name":"time_formatted","label":"Time (h:mm:ss)","type":"string","decimals":4,"description":"Elapsed time as hours:minutes:seconds, rounded to the second."},{"name":"speed_m_s","label":"Speed","type":"number","unit":"m/s","decimals":4,"description":"Average speed."},{"name":"speed_km_h","label":"Speed","type":"number","unit":"km/h","decimals":4,"description":"Average speed in kilometres per hour (× 3.6)."},{"name":"speed_mph","label":"Speed","type":"number","unit":"mph","decimals":4,"description":"Average speed in miles per hour (÷ 0.44704)."}],"input_schema":{"type":"object","properties":{"distance_m":{"description":"Distance travelled in metres (1 km = 1000 m, 1 mile = 1609.344 m). Omit to solve for it. Unit: m.","type":"number","minimum":0,"examples":[100],"x-unit":"m"},"time_s":{"description":"Elapsed time in seconds (1 h = 3600 s). Omit to solve for it. Unit: s.","type":"number","exclusiveMinimum":0,"examples":[9.58],"x-unit":"s"},"speed_m_s":{"description":"Average speed in metres per second (km/h ÷ 3.6, mph × 0.44704). Omit to solve for it. Unit: m/s.","type":"number","minimum":0,"x-unit":"m/s"}},"additionalProperties":false},"output_schema":{"type":"object","properties":{"solved_for":{"description":"Which input was computed: distance_m, time_s or speed_m_s.","type":"string"},"distance_m":{"description":"Distance travelled. Unit: m.","type":"number","x-unit":"m"},"distance_km":{"description":"Distance in kilometres. Unit: km.","type":"number","x-unit":"km"},"time_s":{"description":"Elapsed time. Unit: s.","type":"number","x-unit":"s"},"time_formatted":{"description":"Elapsed time as hours:minutes:seconds, rounded to the second.","type":"string"},"speed_m_s":{"description":"Average speed. Unit: m/s.","type":"number","x-unit":"m/s"},"speed_km_h":{"description":"Average speed in kilometres per hour (× 3.6). Unit: km/h.","type":"number","x-unit":"km/h"},"speed_mph":{"description":"Average speed in miles per hour (÷ 0.44704). Unit: mph.","type":"number","x-unit":"mph"}}},"formula":"speed_m_s = distance_m / time_s; distance_m = speed_m_s × time_s; time_s = distance_m / speed_m_s; speed_km_h = 3.6 × speed_m_s; speed_mph = speed_m_s / 0.44704","method":"Uniform (constant or average) motion in a straight line; the result is the average speed over the interval, not an instantaneous value.","sources":[{"name":"HyperPhysics – Motion equations for constant acceleration","url":"http://hyperphysics.phy-astr.gsu.edu/hbase/mot.html","type":"reference","retrieved_at":"2026-09-23"},{"name":"NIST Special Publication 811 – Guide for the Use of the SI, Appendix B (conversion factors)","url":"https://www.nist.gov/pml/special-publication-811","type":"standard","retrieved_at":"2026-09-23"}],"freshness":{"type":"static","max_age_seconds":null,"note":"Deterministic formula with fixed constants; results never go stale. Inputs supplied by the caller determine the output."},"examples":[{"name":"100 m in 9.58 s (100 m world record)","inputs":{"distance_m":100,"time_s":9.58},"expected":{"solved_for":"speed_m_s","speed_m_s":10.4384,"speed_km_h":37.5783,"speed_mph":23.3501,"distance_km":0.1},"url":"https://tttkmbb.com/api/v1/calculate/speed-distance-time?distance_m=100&time_s=9.58"},{"name":"150 km at 25 m/s","inputs":{"distance_m":150000,"speed_m_s":25},"expected":{"solved_for":"time_s","time_s":6000,"time_formatted":"1:40:00","speed_km_h":90},"url":"https://tttkmbb.com/api/v1/calculate/speed-distance-time?distance_m=150000&speed_m_s=25"}],"faq":[{"q":"Can I enter km and hours instead of metres and seconds?","a":"No; convert first (1 km = 1000 m, 1 h = 3600 s, 1 km/h = 0.27778 m/s). Outputs include km, km/h and mph twins so you rarely need to convert results."},{"q":"What if I give all three values?","a":"The calculator returns an INVALID_PARAMETER error: supply exactly two, and the third is computed."}],"tags":["speed distance time","average speed","travel time","velocity","how long does it take"],"related":[{"calculator_id":"acceleration","reason":"When speed changes uniformly over the interval."},{"calculator_id":"running-pace","reason":"Pace per kilometre or mile for runners."},{"calculator_id":"speed","reason":"Convert a known speed between m/s, km/h, mph and knots."}],"links":{"html":"https://tttkmbb.com/physics/speed-distance-time","markdown":"https://tttkmbb.com/physics/speed-distance-time.md","json":"https://tttkmbb.com/physics/speed-distance-time.json","api":"https://tttkmbb.com/api/v1/calculate/speed-distance-time","schema":"https://tttkmbb.com/api/v1/calculators/speed-distance-time","openapi":"https://tttkmbb.com/openapi.json","mcp":"https://tttkmbb.com/mcp"},"version":"v1","updated_at":"2026-09-23"},"timestamp":"2026-09-23T23:29:08Z"}