Àwọn Ààtò Àwọn À
Convert whole numbers to Roman numerals and back.
Àwọn Àtòjọ-ẹ̀yàn àwọn ìṣàmúlò-ètò
Àkóónú ìṣàmúlò-ètò yìí
A Roman numeral converter turns an ordinary number from 1 to 3,999 into Roman numerals like MCMLXXXIV, or reads a Roman numeral back into a number. Romans built values from the seven symbols I, V, X, L, C, D and M — worth 1, 5, 10, 50, 100, 500 and 1,000.
The system is mostly additive, writing larger symbols before smaller ones and adding them up, but it uses a subtractive shortcut for the 4s and 9s: IV is 4, IX is 9, XL is 40 and CM is 900. This converter also validates the input, rejecting malformed numerals such as IIII or VX.
Worked example: 2024 breaks into 1000 + 1000 + 10 + 10 + 4, which is MM + XX + IV = MMXXIV. Reading it back, MMXXIV adds 1000 + 1000 + 10 + 10 + (5 − 1) = 2024. Because the symbols only reach M, the largest value the standard system can write is 3,999, or MMMCMXCIX.
Àwọn Àtòjọ-ẹ̀yàn
Bawo ni àwọn ìṣẹ̀dà ìṣàmúlò-ètò tí a fi ṣẹ́ wá?
Tí àwọn àmì-ìwé kéré bá dé ní àwọn àmì-ìwé kéré nínú, a tí yọ àwọn àmì-ìwé kéré: IV jẹ́ 4 (5 − 1), IX jẹ́ 9, XL jẹ́ 40 atí CM jẹ́ 900. Tí kò bá jẹ́ bẹ́ẹ̀, àwọn àmì-ìwé náà tí a fi kun àwọn àmì-ìwé kéré nínú àwọn àmì-ìwé kéré.
Kini idi ti o fi jẹ́ pé o jú 3,999 lọ?
Àwọn àwọn iǹẹ̀tì Rome ìpèwọ̀n lọ sí 3,999 (MMMCMXCIX). Àwọn iǹẹ̀tì 4,000 tabi àwọn tí o jù lọ ní àwọn ìṣàmúlò-ètò àti àwọn ìrísí-lẹ́tà tí kò lè ṣàfihàn.
Àwọn àwọn
Kò. Àwọn ìṣàmúlò-ètò Rome kò ní àmì-ìwé fún ìwọ̀n àti àwọn fálù ààyè-iṣẹ́, tí ó jẹ́ àwọn ìṣàmúlò-ètò kan tí a fi àwọn
Bawo ni mo ṣe lè kọ̀ 4 àti 9 nínú àwọn ìtàn Rome?
They use the subtractive rule: 4 is IV (one before five) and 9 is IX (one before ten). The same pattern gives 40 = XL, 90 = XC, 400 = CD and 900 = CM.
Àwọn àwọn
MMXXIV jẹ́ 2024: Ms meji ní 2,000, Xs meji ní 20, ati IV ní 4. Àtòjọ-ẹ̀yàn àwọn iǹẹ́ẹ̀lì Rome yìí kọ́ gbogbo àmì-ìwé láti apa àwọ̀ sí ọ̀tún, àti àwọn ìṣàfarawe-ìtàn tí a bá fi àwọn iǹẹ̀yàn kéré.
Kini idi ti aagójútó náà fi dẹ́kun àwọn à
Standard Roman notation never repeats a symbol four times; four is written IV, not IIII. The converter checks that a numeral is in canonical form and flags non-standard spellings as invalid.
API — ló àwọn ìṣàmúlò-ètò yìí láti inú ìṣàmúlò-ètò
Fi àwọn ìṣàmúlò-ètò yìí kọ̀ǹpútà yìí láti jẹ́ ààyè-iṣẹ́ JSON tí a tí fi pamọ́ - kò ní bọ́tìnì kan tí a fẹ́. Fi àwọn fálù ààyè-iṣẹ́ sílẹ̀ sí bí àwọn àwọn ìṣàmúlò-ètò àti JSON. Anything you omit uses the same default this page is pre-filled with; an unknown parameter is a 400, never a silent zero. Ka àwọn àkọlé API kíkún →
Àwọn Ààyè Ìjánu-ìṣàmúlò-ètò
GET https://calculator.free/api/v1/roman-numerals/
curl
curl "https://calculator.free/api/v1/roman-numerals/?amount=2024&from=arabic&to=roman"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/roman-numerals/?" + new URLSearchParams({
"amount": "2024",
"from": "arabic",
"to": "roman"
}));
const data = await r.json();
console.log(data.results);
Results are estimates for general guidance only, not financial, medical or tax advice.