Light Years to CSS Pixels: the quick answer
To convert light years to CSS pixels, multiply the value by 3.57571 × 10¹⁹. To go the other way, multiply CSS pixels by 2.79665 × 10⁻²⁰ to get light years.
To convert light years to CSS pixels, multiply the value by 3.57571 × 10¹⁹. To go the other way, multiply CSS pixels by 2.79665 × 10⁻²⁰ to get light years.
| Light Years (ly) | CSS Pixels (px) |
|---|---|
| 1 ly | 3.57571 × 10¹⁹ px |
| 2 ly | 7.15142 × 10¹⁹ px |
| 3 ly | 1.07271 × 10²⁰ px |
| 4 ly | 1.43028 × 10²⁰ px |
| 5 ly | 1.78785 × 10²⁰ px |
| 6 ly | 2.14543 × 10²⁰ px |
| 7 ly | 2.503 × 10²⁰ px |
| 8 ly | 2.86057 × 10²⁰ px |
| 9 ly | 3.21814 × 10²⁰ px |
| 10 ly | 3.57571 × 10²⁰ px |
| 12 ly | 4.29085 × 10²⁰ px |
| 14 ly | 5.00599 × 10²⁰ px |
| 15 ly | 5.36356 × 10²⁰ px |
| 20 ly | 7.15142 × 10²⁰ px |
| 21 ly | 7.50899 × 10²⁰ px |
| 24 ly | 8.5817 × 10²⁰ px |
| 25 ly | 8.93927 × 10²⁰ px |
| 30 ly | 1.07271 × 10²¹ px |
| 40 ly | 1.43028 × 10²¹ px |
| 50 ly | 1.78785 × 10²¹ px |
| 60 ly | 2.14543 × 10²¹ px |
| 75 ly | 2.68178 × 10²¹ px |
| 80 ly | 2.86057 × 10²¹ px |
| 100 ly | 3.57571 × 10²¹ px |
| 200 ly | 7.15142 × 10²¹ px |
| 250 ly | 8.93927 × 10²¹ px |
| 300 ly | 1.07271 × 10²² px |
| 400 ly | 1.43028 × 10²² px |
| 500 ly | 1.78785 × 10²² px |
| 750 ly | 2.68178 × 10²² px |
| 1,000 ly | 3.57571 × 10²² px |
250 ly × 3.57571 × 10¹⁹ = 8.93927 × 10²¹ px
Try this example →Light year (ly). A light year is the distance light travels in one year, about 9.46 trillion kilometers.
CSS pixel (px). A CSS pixel is defined as 1/96 of an inch (about 0.2646 mm) and is used in screen layouts.
There are 3.57571 × 10¹⁹ CSS pixels in one light year.
Multiply the number of light years by 3.57571 × 10¹⁹. For example, 10 light years equal 3.57571 × 10²⁰ CSS pixels.
One CSS pixel equals 2.79665 × 10⁻²⁰ light years.
4.29085 × 10²⁰ CSS pixels. Other common values: 5 light years = 1.78785 × 10²⁰ CSS pixels and 100 light years = 3.57571 × 10²¹ CSS pixels.