# Astronomical distance converter > How far is that in other units? Convert between kilometres, astronomical units, light-seconds, light-years and parsecs. Free astronomical distance converter: km, au, light-seconds, light-minutes, light-years and parsecs with IAU definitions, and a table of familiar distances. - Page: https://how.box/astro-distance/ - 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/astro-distance/?v={v}&from={from}&to={to} - `v` (number 0 to 1e30): The value to convert, in the from unit. Example: `1`. - `from` (km, au, ls, lmin, ly or parsec): Unit of v (unit id: km, au, ls, lmin, ly, parsec). Example: `ly`. - `to` (km, au, ls, lmin, ly or parsec): Unit to convert to (unit id). Example: `km`. Example answer: https://how.box/astro-distance/?v=1&from=ly&to=km A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `astro_distance_convert`: Converts astronomical distances between kilometres, astronomical units (149 597 870.7 km, IAU 2012), light-seconds, light-minutes, light-years (c × 365.25 days, IAU) and parsecs (648 000/π au, IAU 2015). - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"astro_distance_convert","arguments":{"value":1,"from_unit":"ly","to_unit":"km"}}}` - GET: https://how.box/mcp/run/astro_distance_convert?value=1&from_unit=ly&to_unit=km ## How it works Distances in space are quoted in several units. The astronomical unit (au) is the average Earth–Sun distance, fixed by the IAU at exactly 149,597,870.7 km. A light-year is how far light travels in a Julian year of 365.25 days: 9.4607 × 10¹² km. A parsec is the distance at which one au spans one arcsecond: 648,000/π au, about 3.2616 light-years. Light-seconds and light-minutes use the speed of light, 299,792.458 km/s: the Moon is about 1.3 light-seconds away and the Sun about 8.3 light-minutes. A light-year measures distance, not time. The conversions are exact by definition; the distances to real stars come with measurement uncertainty that the table does not show. ## FAQ **How many km is a light-year?** About 9.4607 × 10¹² km, nearly 9.5 trillion kilometres. **How many light-years is a parsec?** About 3.2616 light-years, or 206,265 astronomical units. **How many au is a light-year?** About 63,241 au. **How long does light take from the Sun to Earth?** About 8.3 minutes, because 1 au is 8.317 light-minutes. **How far is the nearest star?** Proxima Centauri, about 4.24 light-years or 4.0 × 10¹³ km away. **Why do sources give slightly different kilometres for a light-year?** They use different years. The IAU light-year uses the Julian year of 365.25 days, which gives 9,460,730,472,580.8 km exactly; a 365-day year or the tropical year gives a slightly different figure. **Is 1 au exactly the distance from Earth to the Sun?** Not on any given day. Since 2012 the au is a fixed length, 149,597,870.7 km, while the real Earth–Sun distance changes through the year because Earth's orbit is slightly elliptical. **How long has light from Proxima Centauri travelled?** About 4.24 years. A distance in light-years is also the number of years its light took to reach us, so you see the star as it was then. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)