---
title: "Speed Distance Time"
method: GET
path: "/api/calc/speed-distance-time-calculator"
tags: ["Everyday"]
---

# Speed Distance Time

`GET /api/calc/speed-distance-time-calculator`

## Request

- Base URL: `https://calcbright.com`
- URL: `https://calcbright.com/api/calc/speed-distance-time-calculator`
- Auth: none declared

150 km in 2 h 30 min is 60 km/h. Give any two of speed, distance and time to get the third, mixing km, miles, km/h and mph freely, with the working shown.

## Query parameters

- `mode` 'speed' | 'distance' | 'time': Solve for
- `distance` number: Distance
- `distUnit` 'km' | 'miles': Distance unit
- `speed` number: Speed
- `speedUnit` 'kmh' | 'mph': Speed unit
- `hours` number: Time – hours
- `minutes` number: Time – minutes

## Response `200`

Calculation result

- CalcOutput
  - `ok` boolean
  - `tool` string
  - `name` string
  - `url` string: Open this link to see the full calculation
  - `inputs` object
  - `summary` string: Plain-text answer
  - `details` string
  - `result` object
  - `errors` object

## Other responses

- `400`: Invalid input (see errors)

---

[API](https://skmtc.dev/calcbright/apis/calcbright-calculator-api.md) · [All operations](https://skmtc.dev/calcbright/apis/calcbright-calculator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/calcbright/apis/calcbright-calculator-api/revisions/f58229e56e58?raw)
