Lines (typographic) to Pixels (CSS) Converter
1 line (typographic) (line (typographic)) equals 8 pixels (CSS) (px).
Quick answer
- 1 line (typographic) = 8 pixels (CSS)
- 1 pixel (CSS) = 0.125 lines (typographic)
- Formula: px = line (typographic) × 8
1 line (typographic) = 8 pixels (CSS)
How to convert lines (typographic) to pixels (CSS)
px = line (typographic) × 8
To convert lines (typographic) to pixels (CSS), multiply the number of lines (typographic) by 8.
Example: 1 line (typographic) to px
- Start with the value in lines (typographic): 1 line (typographic).
- Multiply by 8: 1 × 8 = 8.
- Result: 1 line (typographic) = 8 pixels (CSS).
Going the other way, 1 pixel (CSS) = 0.125 lines (typographic), so to convert pixels (CSS) back to lines (typographic) you divide by the same number. See pixels (CSS) to lines (typographic).
Lines (typographic) to pixels (CSS) conversion table
| Lines (typographic) (line (typographic)) | Pixels (CSS) (px) |
|---|---|
| 1 line (typographic) | 8 px |
| 2 line (typographic) | 16 px |
| 3 line (typographic) | 24 px |
| 4 line (typographic) | 32 px |
| 5 line (typographic) | 40 px |
| 6 line (typographic) | 48 px |
| 7 line (typographic) | 56 px |
| 8 line (typographic) | 64 px |
| 9 line (typographic) | 72 px |
| 10 line (typographic) | 80 px |
| 100 line (typographic) | 800 px |
What is a line (typographic)?
The line was 1/12 inch, used for button and early type sizes.
What is a pixel (CSS)?
The CSS pixel (px) is the basic unit of length on the web, defined as exactly 1/96 of an inch, or 0.75 points.
Convert lines (typographic) to other units
- Lines (typographic) to points
- Lines (typographic) to ems
- Lines (typographic) to picas
- Lines (typographic) to millimeters
- Lines (typographic) to rems
- Lines (typographic) to inches
- Lines (typographic) to centimeters
- Lines (typographic) to ens
- Lines (typographic) to Didot points
- Lines (typographic) to twips
- All line (typographic) conversions →
Convert other units to pixels (CSS)
Frequently asked questions
How many pixels (CSS) are in a line (typographic)?
One line (typographic) is 8 pixels (CSS).
How many lines (typographic) are in a pixel (CSS)?
One pixel (CSS) is 0.125 lines (typographic).
What is the formula to convert lines (typographic) to pixels (CSS)?
px = line (typographic) × 8.