Typography / px → pc
Convert CSS pixels to Picas
Convert absolute CSS lengths and desktop-publishing points. Convert CSS pixels (px) to Picas (pc). Find the formula, worked examples, unit definitions, and practical guidance below.
Reverse: Picas to CSS pixels →
How to convert CSS pixels to picas
These use CSS definitions: 1 inch = 96 CSS pixels = 72 points = 6 picas. A CSS pixel is not a physical screen pixel. Relative em, rem, and viewport units need a rendering context and are excluded.
Use x for the value in px, b for the intermediate value in in, and y for the result in pc.
pc = px × 0.010416666666666666 ÷ 0.16666666666666666
Worked examples
10 px ≈ 0.625 pc
Step 1: (10 × 0.0104166666667) ≈ 0.104166666667 in.
Step 2: 0.104166666667 ÷ 0.166666666667 ≈ 0.625 pc.20 px ≈ 1.25 pc
Step 1: (20 × 0.0104166666667) ≈ 0.208333333333 in.
Step 2: 0.208333333333 ÷ 0.166666666667 ≈ 1.25 pc.
Results are rounded to 12 significant digits. Converting units does not increase the precision of the original measurement. Very large or small values outside JavaScript’s finite numeric range are rejected.
About CSS pixels
CSS pixels (px) measures typography under the conventions above. The base value in in is (x × 0.0104166666667), where x is the numerical value in px. Factors shown here are rounded for display; calculations use the stored factor.
About Picas
Picas (pc) measures typography under the conventions above. The base value in in is (x × 0.166666666667), where x is the numerical value in pc. Factors shown here are rounded for display; calculations use the stored factor.
Definitions and sources
Keep these unit conventions consistent when using measurements in construction calculations.
CSS pixels to picas reference table
| CSS pixels (px) | Picas (pc) |
|---|---|
| 1 | 0.0625 |
| 5 | 0.3125 |
| 10 | 0.625 |
| 25 | 1.5625 |
| 50 | 3.125 |
| 100 | 6.25 |
| 1000 | 62.5 |
Browse every typography conversion →