PX to CQH Converter (Container Query Height)
Convert Pixels to CQH.
Loading converter...
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
× 100Where:
pxPixels — The pixel size you want to convert.
container heightContainer Height — The height of the nearest parent query container.
cqhContainer Query Height Units — The resulting height relative to the container height (1cqh = 1% of container height).
PX to CQH Conversion Table
| PX (px) | CQH (cqh) |
|---|---|
| 1px | 0.125cqh |
| 2px | 0.25cqh |
| 3px | 0.375cqh |
| 4px | 0.5cqh |
| 5px | 0.625cqh |
| 6px | 0.75cqh |
| 7px | 0.875cqh |
| 8px | 1cqh |
| 9px | 1.125cqh |
| 10px | 1.25cqh |
| 11px | 1.375cqh |
| 12px | 1.5cqh |
| 13px | 1.625cqh |
| 14px | 1.75cqh |
| 15px | 1.875cqh |
| 16px | 2cqh |
| 17px | 2.125cqh |
| 18px | 2.25cqh |
| 19px | 2.375cqh |
| 20px | 2.5cqh |
| 22px | 2.75cqh |
| 24px | 3cqh |
| 26px | 3.25cqh |
| 28px | 3.5cqh |
| 30px | 3.75cqh |
| 32px | 4cqh |
| 36px | 4.5cqh |
| 40px | 5cqh |
| 44px | 5.5cqh |
| 48px | 6cqh |
| 52px | 6.5cqh |
| 56px | 7cqh |
| 60px | 7.5cqh |
| 64px | 8cqh |
| 72px | 9cqh |
| 80px | 10cqh |
| 88px | 11cqh |
| 96px | 12cqh |
| 100px | 12.5cqh |
| 112px | 14cqh |
| 120px | 15cqh |
| 128px | 16cqh |
| 136px | 17cqh |
| 144px | 18cqh |
| 160px | 20cqh |
| 192px | 24cqh |
| 200px | 25cqh |
| 240px | 30cqh |
| 256px | 32cqh |
| 288px | 36cqh |
| 300px | 37.5cqh |
| 320px | 40cqh |
| 360px | 45cqh |
| 384px | 48cqh |
| 400px | 50cqh |
| 480px | 60cqh |
| 512px | 64cqh |
| 576px | 72cqh |
| 600px | 75cqh |
| 640px | 80cqh |
| 720px | 90cqh |
| 768px | 96cqh |
| 800px | 100cqh |
| 960px | 120cqh |
| 1024px | 128cqh |
| 1080px | 135cqh |
| 1200px | 150cqh |
| 1280px | 160cqh |
| 1366px | 170.75cqh |
| 1440px | 180cqh |
| 1536px | 192cqh |
| 1920px | 240cqh |