CSS Pixels to Light Years: the quick answer
To convert CSS pixels to light years, multiply the value by 2.79665 × 10⁻²⁰. To go the other way, multiply light years by 3.57571 × 10¹⁹ to get CSS pixels.
1 CSS pixel = 2.79665 × 10⁻²⁰ light years. Convert CSS pixels to light years instantly, with the formula, a conversion table and worked examples.
Log in or create a free account to save your inputs and results, so you don't have to enter them again next time.🔒 No spam, ever. We never sell or share your details, and you can delete your history or account at any time. Privacy policy
To convert CSS pixels to light years, multiply the value by 2.79665 × 10⁻²⁰. To go the other way, multiply light years by 3.57571 × 10¹⁹ to get CSS pixels.
| CSS Pixels (px) | Light Years (ly) |
|---|---|
| 1 px | 2.79665 × 10⁻²⁰ ly |
| 5 px | 1.39832 × 10⁻¹⁹ ly |
| 10 px | 2.79665 × 10⁻¹⁹ ly |
| 25 px | 6.99162 × 10⁻¹⁹ ly |
| 50 px | 1.39832 × 10⁻¹⁸ ly |
| 100 px | 2.79665 × 10⁻¹⁸ ly |
| 250 px | 6.99162 × 10⁻¹⁸ ly |
| 500 px | 1.39832 × 10⁻¹⁷ ly |
| 1,000 px | 2.79665 × 10⁻¹⁷ ly |
| 2,500 px | 6.99162 × 10⁻¹⁷ ly |
| 5,000 px | 1.39832 × 10⁻¹⁶ ly |
| 10,000 px | 2.79665 × 10⁻¹⁶ ly |
| 100,000 px | 2.79665 × 10⁻¹⁵ ly |
| 1,000,000 px | 2.79665 × 10⁻¹⁴ ly |
25 px × 2.79665 × 10⁻²⁰ = 6.99162 × 10⁻¹⁹ ly
250 px × 2.79665 × 10⁻²⁰ = 6.99162 × 10⁻¹⁸ ly
CSS pixel (px). A CSS pixel is defined as 1/96 of an inch (about 0.2646 mm) and is used in screen layouts.
Light year (ly). A light year is the distance light travels in one year, about 9.46 trillion kilometers.
There are 2.79665 × 10⁻²⁰ light years in one CSS pixel.
Multiply the number of CSS pixels by 2.79665 × 10⁻²⁰. For example, 10 CSS pixels equal 2.79665 × 10⁻¹⁹ light years.
One light year equals 3.57571 × 10¹⁹ CSS pixels.
2.79665 × 10⁻¹⁷ light years. Other common values: 100 CSS pixels = 2.79665 × 10⁻¹⁸ light years and 10,000 CSS pixels = 2.79665 × 10⁻¹⁶ light years.