How the conversion works
A width of 150 px inside a 600 px container is 25% of that container.
Percent = Pixels ÷ Reference size × 100
Pixels = Percent ÷ 100 × Reference size
Convert pixels and percentages using the reference size for your CSS property.
Edit either conversion field to update the other.
A width of 150 px inside a 600 px container is 25% of that container.
Percent = Pixels ÷ Reference size × 100
Pixels = Percent ÷ 100 × Reference size