Type in any of the three fields and the others update. REM is relative to the root (html) font size, which is 16px in every major browser unless you change it. EM is relative to the font size of the parent element, so set the parent size separately when you need em values for nested components.
The conversion table lists common sizes for the current root size, plus the matching Tailwind spacing number (Tailwind spacing units are 0.25rem, which is 4px at the default root).
The snippet converter rewrites every px value in pasted CSS to rem. Small values such as 1px borders are left alone by default, because hairlines usually should not scale with font size; adjust the threshold if you want them converted too.