# Light-years to km > How many kilometres is a light-year? One light-year is 9.4607 × 10¹² km; enter any distance. Convert light-years to kilometres: 1 ly is 9.4607 × 10¹² km. Enter a distance in light-years and see it in km, astronomical units, light-minutes and parsecs. A preset of [Astronomical distance converter](https://how.box/astro-distance/). - Page: https://how.box/light-years-to-km/ - 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/light-years-to-km/?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/light-years-to-km/?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 A light-year is the distance light travels in a vacuum in one Julian year of 365.25 days. Light moves at exactly 299,792.458 km/s, so one light-year is 299,792.458 × 86,400 × 365.25 km, about 9.46 trillion kilometres. Light-years to kilometres is a single multiplication by that number. For distances inside the solar system the astronomical unit, exactly 149,597,870.7 km, is the more natural unit; a light-year is about 63,241 of them. The results are large enough to need care. Check the exponent: 10 light-years is ten times 9.46 × 10¹² km, so 9.46 × 10¹³ km. A distance written with many digits suggests a precision the measurement does not have, so round the answer to the precision of the distance you started with. A light-year measures distance, not time: "light-years ago" mixes the two. Using 365 days for the year instead of 365.25 would make the light-year about 0.07 % too short. ## FAQ **Why is a light-year not a unit of time?** It is the distance light covers in a year, so it measures length. How long light has travelled is a separate matter. **How long does light take to cross a million kilometres?** About 3.3 seconds: 1,000,000 km divided by 299,792.458 km/s. **Does it matter which year is used?** Slightly. The light-year uses the Julian year of 365.25 days. A 365-day year would give a value about 0.07 % smaller. **How do I write 5 light-years in kilometres?** As about 4.73 × 10¹³ km, or 47.3 trillion kilometres. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)