Convert Pixel to Light year
Unit definitions
Pixel
A pixel is a unit of length based on the $96$ DPI standard, equal to $\frac{1}{96}$ of an inch (approximately $0.000\,264\,583$ meters).
Light year
A light year is equal to the distance light travels in a Julian year ($365.25$ days). It is exactly $9\,460\,730\,472\,580\,800$ meters.
How to convert Pixel to Light year
$$\text{Length}_{\text{ly}} = \text{Length}_{\text{px}} \cdot 2.796648040023461747731280971033566e - 20$$
Examples
Example 1
Convert $40.0\ \text{px}$ to $\text{ly}$.
$$\text{Length}_{\text{ly}} = 40.0 \cdot 2.796648040023461747731280971033566e - 20$$
$$\text{Length}_{\text{ly}} = 0.000000000000000001118659216009384699092512388413426$$
$$\therefore \ 40.0\ \text{px} = 0.000000000000000001118659216009384699092512388413426 \ \text{ly}$$
Example 2
Convert $90.0\ \text{px}$ to $\text{ly}$.
$$\text{Length}_{\text{ly}} = 90.0 \cdot 2.796648040023461747731280971033566e - 20$$
$$\text{Length}_{\text{ly}} = 0.000000000000000002516983236021115572958152873930209$$
$$\therefore \ 90.0\ \text{px} = 0.000000000000000002516983236021115572958152873930209 \ \text{ly}$$
Example 3
Convert $100.0\ \text{px}$ to $\text{ly}$.
$$\text{Length}_{\text{ly}} = 100.0 \cdot 2.796648040023461747731280971033566e - 20$$
$$\text{Length}_{\text{ly}} = 0.000000000000000002796648040023461747731280971033566$$
$$\therefore \ 100.0\ \text{px} = 0.000000000000000002796648040023461747731280971033566 \ \text{ly}$$
Example 4
Convert $140.0\ \text{px}$ to $\text{ly}$.
$$\text{Length}_{\text{ly}} = 140.0 \cdot 2.796648040023461747731280971033566e - 20$$
$$\text{Length}_{\text{ly}} = 0.000000000000000003915307256032846446823793359446992$$
$$\therefore \ 140.0\ \text{px} = 0.000000000000000003915307256032846446823793359446992 \ \text{ly}$$
Example 5
Convert $175.0\ \text{px}$ to $\text{ly}$.
$$\text{Length}_{\text{ly}} = 175.0 \cdot 2.796648040023461747731280971033566e - 20$$
$$\text{Length}_{\text{ly}} = 0.00000000000000000489413407004105805852974169930874$$
$$\therefore \ 175.0\ \text{px} = 0.00000000000000000489413407004105805852974169930874 \ \text{ly}$$