# Orbital speed calculator > How fast do you have to go to stay in orbit? Orbital speed, period and escape velocity around Earth, the Moon, Mars and the other planets. Drag the spacecraft to raise or lower its orbit. Calculate the speed and period of a circular orbit and the escape velocity at any height above Earth, the Moon, Mars or another planet, drawn to scale. - Page: https://how.box/gravity/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/gravity/?w={w}&h={h}&hu={hu} - `w` (mercury, venus, earth, moon, mars, jupiter, saturn, uranus, neptune or pluto): World: mercury, venus, earth, moon, mars, jupiter, saturn, uranus, neptune, pluto. Example: `mars`. - `h` (number 0 to 2e6): Orbit altitude in hu. Example: `400`. - `hu` (km or mi): km or mi. Example: `km`. Example answer: https://how.box/gravity/?w=mars&h=400&hu=km A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `gravity_calculate`: A circular orbit around a planet or moon: orbital speed, period and escape velocity. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"gravity_calculate","arguments":{"world":"mars","altitude":400,"altitude_unit":"km"}}}` - GET: https://how.box/mcp/run/gravity_calculate?world=mars&altitude=400&altitude_unit=km ## How it works An orbiting spacecraft is falling all the time, but it moves sideways so fast that the ground curves away beneath it as quickly as it falls. At just the right speed the fall and the curve match and the path closes into a circle. Higher up gravity is weaker, so a slower speed is enough, and the longer path takes more time. For a circular orbit of radius r around a body with mass M, the speed is v = √(GM/r) and one lap takes T = 2π√(r³/GM), where G is the gravitational constant and r is the body's radius plus the altitude. To escape completely you need √2 times as much: v_esc = √(2GM/r). For the International Space Station 400 km above Earth (GM = 398,600 km³/s², r = 6371 + 400 = 6771 km): v = √(398,600 / 6771) ≈ 7.67 km/s and T ≈ 5,545 s, about 92 minutes. The calculation assumes a perfectly circular orbit around a round body, with no air drag and no other moons or planets pulling. Very low orbits around Earth lose height quickly in the thin upper air. GM and mean radii come from NASA's planetary fact sheets; the formulas from OpenStax University Physics, volume 1, sections 13.3 and 13.4 (openstax.org). ## FAQ **Why doesn't the speed depend on the spacecraft's mass?** Gravity pulls a heavier craft harder, but it also needs more force to curve its path, exactly in proportion. A pebble and the space station at the same height orbit at the same speed. **How high is a geostationary orbit?** About 35,786 km above Earth's equator. There one orbit takes a sidereal day, so the satellite stays above the same spot. Enter that altitude to see its speed of about 3.07 km/s. **Why is escape velocity √2 times the orbital speed?** Escaping needs enough kinetic energy to climb out of the gravity well entirely, which is twice the kinetic energy of a circular orbit at the same height. Twice the energy means √2 times the speed. **How fast does the Moon orbit Earth?** At an average distance of 384,400 km from Earth's centre (about 378,000 km up), a circular orbit takes about 1.02 km/s and 27 days, close to the Moon's real orbit. **Why do astronauts float on the space station?** They are in free fall, not out of gravity's reach: at 400 km gravity is still about 89 % of its value on the ground. The station and its crew fall around Earth together, so nothing presses on anything. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)