Skip to main content
Glama

convert_rem_px

Convert CSS units between REM and PX for responsive web design. Specify a value and source unit to calculate the equivalent measurement.

Instructions

Convert between REM and PX units for CSS. Example: Convert 1.5rem to pixels, or 24px to rem units.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueYesValue to convert (e.g., 1.5 for 1.5rem or 24 for 24px)
fromUnitYesSource unit - either 'rem' or 'px'
rootFontSizeNoRoot font size in pixels (default: 16px - standard browser default)

Tool Definition Quality

Score is being calculated. Check back soon.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wrenchpilot/it-tools-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server