IDEAFACTORYS LAB · Utility

Roman Numeral Converter

Arabic ↔ Roman, 1–3999, with standard subtractive notation and clear errors.

Input

This converts standard Roman numerals and Arabic integers from 1 to 3999, including subtractive forms such as IV, IX, XL, XC, CD, and CM. Values outside that range, or non-standard spellings, return an error instead of a guess.

Only the canonical form is accepted. 4 is IV, not IIII; 1994 is MCMXCIV. Empty input, stray letters, and illegal subtractive spellings such as IIV or VX are rejected.

Result

Arabic—
Roman—