CSS Pixels to Astronomical Units: the quick answer
To convert CSS pixels to astronomical units, multiply the value by 1.76863 × 10⁻¹⁵. To go the other way, multiply astronomical units by 565,409,282,209,881 to get CSS pixels.
To convert CSS pixels to astronomical units, multiply the value by 1.76863 × 10⁻¹⁵. To go the other way, multiply astronomical units by 565,409,282,209,881 to get CSS pixels.
| CSS Pixels (px) | Astronomical Units (AU) |
|---|---|
| 1 px | 1.76863 × 10⁻¹⁵ AU |
| 5 px | 8.84315 × 10⁻¹⁵ AU |
| 10 px | 1.76863 × 10⁻¹⁴ AU |
| 25 px | 4.42158 × 10⁻¹⁴ AU |
| 50 px | 8.84315 × 10⁻¹⁴ AU |
| 100 px | 1.76863 × 10⁻¹³ AU |
| 250 px | 4.42158 × 10⁻¹³ AU |
| 500 px | 8.84315 × 10⁻¹³ AU |
| 1,000 px | 1.76863 × 10⁻¹² AU |
| 2,500 px | 4.42158 × 10⁻¹² AU |
| 5,000 px | 8.84315 × 10⁻¹² AU |
| 10,000 px | 1.76863 × 10⁻¹¹ AU |
| 100,000 px | 1.76863 × 10⁻¹⁰ AU |
| 1,000,000 px | 1.76863 × 10⁻⁹ AU |
25 px × 1.76863 × 10⁻¹⁵ = 4.42158 × 10⁻¹⁴ AU
Try this example →250 px × 1.76863 × 10⁻¹⁵ = 4.42158 × 10⁻¹³ AU
Try this example →CSS pixel (px). A CSS pixel is defined as 1/96 of an inch (about 0.2646 mm) and is used in screen layouts.
Astronomical unit (AU). An astronomical unit is the average distance from the Earth to the Sun, about 149.6 million kilometers.
There are 1.76863 × 10⁻¹⁵ astronomical units in one CSS pixel.
Multiply the number of CSS pixels by 1.76863 × 10⁻¹⁵. For example, 10 CSS pixels equal 1.76863 × 10⁻¹⁴ astronomical units.
One astronomical unit equals 565,409,282,209,881 CSS pixels.
1.76863 × 10⁻¹² astronomical units. Other common values: 100 CSS pixels = 1.76863 × 10⁻¹³ astronomical units and 10,000 CSS pixels = 1.76863 × 10⁻¹¹ astronomical units.