What it is
rem, em, vw and vh are not fixed lengths: rem follows the root font size, em follows the parent element's font size, and vw/vh follow the viewport. This converter lets you set those three contexts so the result matches your actual project instead of assuming 16px everywhere.
When to use it
Use it when translating a design spec into CSS, migrating a px-based stylesheet to rem, checking how a size behaves on a specific device viewport, or turning a design-mock pixel value into a vw value for fluid layouts.
Gotchas & limits
If your project sets html { font-size: 62.5% } or a custom root size, change the root field — the default 16px would give wrong rem values. em compounds through nested elements, so enter the immediate parent's computed size. pt and cm use the CSS reference pixel (96 per inch), not physical screen density.