PX to CQH Converter (Container Query Height)

Convert Pixels to CQH.

Loading converter...
Share this tool:

What is PX to CQH?

PX to CQH conversion helps convert pixels into container query height units. It makes layout height responsive to the container. Convert back with CQH to PX or compare with width-based PX to CQW.

How to find PX to CQH?

To find PX to CQH, divide pixels by the container height and multiply by 100. This ensures adaptive vertical layouts.

PX to CQH Formula

cqh=
pxcontainer height
× 100
Where:
pxPixelsThe pixel size you want to convert.
container heightContainer HeightThe height of the nearest parent query container.
cqhContainer Query Height UnitsThe resulting height relative to the container height (1cqh = 1% of container height).

PX to CQH Conversion Table

PX (px)CQH (cqh)
1px0.125cqh
2px0.25cqh
3px0.375cqh
4px0.5cqh
5px0.625cqh
6px0.75cqh
7px0.875cqh
8px1cqh
9px1.125cqh
10px1.25cqh
11px1.375cqh
12px1.5cqh
13px1.625cqh
14px1.75cqh
15px1.875cqh
16px2cqh
17px2.125cqh
18px2.25cqh
19px2.375cqh
20px2.5cqh
22px2.75cqh
24px3cqh
26px3.25cqh
28px3.5cqh
30px3.75cqh
32px4cqh
36px4.5cqh
40px5cqh
44px5.5cqh
48px6cqh
52px6.5cqh
56px7cqh
60px7.5cqh
64px8cqh
72px9cqh
80px10cqh
88px11cqh
96px12cqh
100px12.5cqh
112px14cqh
120px15cqh
128px16cqh
136px17cqh
144px18cqh
160px20cqh
192px24cqh
200px25cqh
240px30cqh
256px32cqh
288px36cqh
300px37.5cqh
320px40cqh
360px45cqh
384px48cqh
400px50cqh
480px60cqh
512px64cqh
576px72cqh
600px75cqh
640px80cqh
720px90cqh
768px96cqh
800px100cqh
960px120cqh
1024px128cqh
1080px135cqh
1200px150cqh
1280px160cqh
1366px170.75cqh
1440px180cqh
1536px192cqh
1920px240cqh