Conversion Form

CH
PT

About the Unit

CH: The ch unit is a relative typographic unit based on the width of the '0' character of the current font. This unit is especially useful when you want the width of an element to be proportional to the text content, particularly for input fields or text areas. Using ch ensures that the element size adjusts based on the average character width of the current font, providing precise control over text layout. For example, if you set the width of a text input field to 10ch, it will be wide enough to accommodate 10 '0' characters of the font, making it useful for password fields or numeric inputs. The ch unit is less commonly used than other relative units like em or rem, but it is an excellent choice when precise width based on textual content is needed.

Pro Tip: chpt

Ch measures text width, pt is for fixed print sizes.

Quick Reference: Unit Conversion by Tens

CHPT
10ch60.00015pt
20ch120.0003pt
30ch180.00045pt
40ch240.0006pt
50ch300.00075pt
60ch360.0009pt
70ch420.00105pt
80ch480.0012pt
90ch540.00135pt
100ch600.0015pt
110ch660.00165pt
120ch720.0018pt
130ch780.00195pt
140ch840.0021pt
150ch900.00225pt
160ch960.0024pt
170ch1020.00255pt
180ch1080.0027pt
190ch1140.00285pt
200ch1200.003pt
210ch1260.00315pt
220ch1320.0033pt
230ch1380.00345pt
240ch1440.0036pt
250ch1500.00375pt

Live Unit Preview

See how different CSS units affect the size of the box below:

10px

10rem

10em

10%

10vw

10vh

Common Mistake

Be cautious when mixing ch and pt without testing on different screen sizes.

Real Code Example

/* Mobile-first card with ch → pt */
.card {
  padding: 0ch;     /* undefinedpt */
  font-size: 1.5rem;
  width: min(90vw, 40ch);
}
Unidade não encontrada.

Keyboard Shortcuts

  • Ctrl + C: Convert
  • Ctrl + I: Invert units
  • Esc: Reset values

More popular conversions