PX to CH Converter (Character Width Unit)
Convert Pixels to CH.
Loading converter...
What Is PX to CH Converter? (Pixels to Character Width)
A PX to CH Converter converts pixel (px) values into ch units, where 1ch represents the width of the "0" character in the current font. It is useful for creating responsive layouts.
How To Find PX to CH?
To find PX to CH, divide the pixel value by the width of the “0” character (ch unit basis) in the current font and multiply accordingly. This converts fixed pixels into character-based responsive sizing. Compare with CH to PX or root-based PX to REM.
PX to CH Formula
ch=
pxcharacter width (0)
Where:
pxPixels — The pixel size you want to convert.
character width (0)Width of "0" Character — The width of the digit zero "0" in the current font and size.
chCH Units — The character width unit equivalent.
PX to CH Conversion Table (Base Font 16px)
| PX (px) | CH (ch) |
|---|---|
| 1px | 0.125ch |
| 2px | 0.25ch |
| 3px | 0.375ch |
| 4px | 0.5ch |
| 5px | 0.625ch |
| 6px | 0.75ch |
| 7px | 0.875ch |
| 8px | 1ch |
| 9px | 1.125ch |
| 10px | 1.25ch |
| 11px | 1.375ch |
| 12px | 1.5ch |
| 13px | 1.625ch |
| 14px | 1.75ch |
| 15px | 1.875ch |
| 16px | 2ch |
| 17px | 2.125ch |
| 18px | 2.25ch |
| 19px | 2.375ch |
| 20px | 2.5ch |
| 22px | 2.75ch |
| 24px | 3ch |
| 26px | 3.25ch |
| 28px | 3.5ch |
| 30px | 3.75ch |
| 32px | 4ch |
| 36px | 4.5ch |
| 40px | 5ch |
| 44px | 5.5ch |
| 48px | 6ch |
| 52px | 6.5ch |
| 56px | 7ch |
| 60px | 7.5ch |
| 64px | 8ch |
| 72px | 9ch |
| 80px | 10ch |
| 88px | 11ch |
| 96px | 12ch |
| 100px | 12.5ch |
| 112px | 14ch |
| 120px | 15ch |
| 128px | 16ch |
| 136px | 17ch |
| 144px | 18ch |
| 160px | 20ch |
| 192px | 24ch |
| 200px | 25ch |
| 240px | 30ch |
| 256px | 32ch |
| 288px | 36ch |
| 300px | 37.5ch |
| 320px | 40ch |
| 360px | 45ch |
| 384px | 48ch |
| 400px | 50ch |
| 480px | 60ch |
| 512px | 64ch |
| 576px | 72ch |
| 600px | 75ch |
| 640px | 80ch |
| 720px | 90ch |
| 768px | 96ch |
| 800px | 100ch |
| 960px | 120ch |
| 1024px | 128ch |
| 1080px | 135ch |
| 1200px | 150ch |
| 1280px | 160ch |
| 1366px | 170.75ch |
| 1440px | 180ch |
| 1536px | 192ch |
| 1920px | 240ch |
Convert back using CH to PX or check root relative values with PX to REM.