CSS Inch to Pixel Converter
1 CSS inch = 96 px. Convert CSS inches to pixels with the formula, a worked example and a common-values table. Works both ways.
Still loading. If the tool doesn’t appear, reload this page.
About this tool
CSS Inch to Pixel Converter
1 CSS inch = 96 pixels. Convert CSS inches to pixels and back, free in your browser.
1 CSS inch = 96 px, so 5 in = 480 px. To convert back, 1 pixel ≈ 0.0104167 in. Type a value in either field for an instant result, or check the two-way table of common CSS inch and pixel values below, handy for CSS and print layouts.
How to use CSS Inch to Pixel Converter
Type the value you want to convert into the CSS Inch field.
Read the equivalent in pixels in the result field, and copy it if needed.
Use the decimal-places slider for more or less precision, or press swap to convert pixels to CSS inches.
Why use CSS Inch to Pixel Converter
Instant, both ways
The result updates as you type, and the swap button flips the conversion to pixel → CSS inch without reloading.
Conversion formula
The converter applies px = in × 96 and rounds the result for display.
Adjustable precision
A slider sets 0–10 decimal places, and very small or very large results switch to scientific notation instead of rounding to zero.
Private and free
Everything runs locally in your browser — no upload, no account, no limit on conversions.
CSS Inch to Pixel conversion table
| Value | Converted |
|---|---|
| 1 in | 96 px |
| 2 in | 192 px |
| 5 in | 480 px |
| 10 in | 960 px |
| 25 in | 2,400 px |
| 50 in | 4,800 px |
| 100 in | 9,600 px |
| 1,000 in | 96,000 px |
| 1 px | 0.0104167 in |
| 2 px | 0.0208333 in |
| 5 px | 0.0520833 in |
| 10 px | 0.104167 in |
| 25 px | 0.260417 in |
| 50 px | 0.520833 in |
| 100 px | 1.04167 in |
| 1,000 px | 10.4167 in |
Common use cases
- Converting a CSS inch measurement to pixels for a spec, listing, or report.
- Checking CSS inch↔pixel figures while comparing products, datasets, or documentation.
- Learning the CSS inch-to-pixel relationship from the worked formula and the common-value table.
Frequently asked questions
How many pixels are in a CSS inch?
One CSS inch is 96 pixels. Multiply the CSS inch value by 96. For example, 5 in = 480 px.
Link to answerWhat is the formula to convert CSS inches to pixels?
px = in × 96. The converter applies this formula automatically. For example, 5 in = 480 px.
Link to answerCan it convert pixels back to CSS inches?
Yes: 1 pixel is about 0.0104166666667 CSS inches. Press the swap button, or type into the pixel field, and the tool converts pixels to CSS inches using the inverse of the same relationship.
Link to answerIs the conversion accurate?
The calculator uses the unit relationship shown by px = in × 96. Results are rounded for display, and ≈ marks an approximation in a formula or result.
Link to answerEmbed this tool on your site
Add the CSS Inch to Pixel Converter widget to your blog or website — free, responsive, no signup. Just keep the “Widget by AltFTool” credit link visible.
<iframe src="https://www.altftool.com/embed/widget/css-inches-to-pixels-converter"
title="CSS Inch to Pixel Converter — free AltFTool widget"
width="100%" height="640" style="border:0;border-radius:12px;overflow:hidden"
loading="lazy" referrerpolicy="no-referrer-when-downgrade" allow="clipboard-write"></iframe>
<p style="font-size:12px;margin:4px 0 0">Widget by <a href="https://www.altftool.com/tools/all/css-inches-to-pixels-converter?utm_source=embed&utm_medium=widget" rel="nofollow">AltFTool — free online tools</a></p>