도구 가이드
converters 무료 회원가입 불필요

시간대 변환기

아라비아 숫자와 로마 숫자 간을 변환하세요 — 확장 표기법으로 1에서 3,999,999까지 지원.

도구를 불러오는 중…

이 도구에 대해

정수를 로마 숫자로, 로마 숫자를 다시 정수로 즉시 변환하세요. 표준 로마 숫자(1~3,999)와 vinculum(가로줄)을 사용한 최대 3,999,999까지의 확장 표기법을 지원합니다. 단계별 변환 내역을 보여줍니다.

사용 방법

  1. 1 아라비아 숫자(1~3999)를 입력하여 로마 숫자로 변환하세요.
  2. 2 또는 로마 숫자 문자를 입력하여 아라비아 숫자로 변환하세요.
  3. 3 아래의 단계별 내역을 확인하세요.
  4. 4 '복사'를 클릭하여 결과를 복사하세요.

How the Roman system represents numbers

Roman numerals build numbers from seven letters, each worth a fixed amount: I=1, V=5, X=10, L=50, C=100, D=500, M=1000. Unlike our place-value decimal system, there is no positional notation and no zero — a number is just a sum of symbols read left to right, with one twist called subtractive notation. This converter goes both ways: it turns an Arabic integer from 1 to 3,999 into numerals, and it reads numerals back into a number, showing every step so the logic is transparent.

Subtractive notation, the one rule that trips people up

Writing 4 as IIII works but is clumsy, so Romans placed a smaller symbol before a larger one to mean "subtract." Six specific pairs are valid:

PairValueReads as
IV45 − 1
IX910 − 1
XL4050 − 10
XC90100 − 10
CD400500 − 100
CM9001000 − 100

Everywhere else, symbols are simply added. When decoding, the tool looks at each pair of adjacent letters: if the left one is smaller than the right, it subtracts (and consumes both); otherwise it adds the single value. That single comparison handles the entire system.

The greedy encoding algorithm

To convert an Arabic number, the tool uses a greedy strategy over a value table that already includes the subtractive pairs, ordered from largest to smallest: 1000(M), 900(CM), 500(D), 400(CD), 100(C), 90(XC), 50(L), 40(XL), 10(X), 9(IX), 5(V), 4(IV), 1(I). It repeatedly takes the largest value that still fits, appends its symbol, and subtracts it from what remains — until nothing is left. Because the table includes 900, 400, 90, 40, 9, and 4, the greedy approach never produces an invalid form like IIII.

A worked example: 2024

Watch the greedy algorithm chew through 2,024:

  1. 2024 ≥ 1000 → write M, remainder 1024
  2. 1024 ≥ 1000 → write M, remainder 24
  3. 24 ≥ 10 → write X, remainder 14
  4. 14 ≥ 10 → write X, remainder 4
  5. 4 ≥ 4 → write IV, remainder 0

Result: MMXXIV. The tool shows this exact ladder under "Conversion Breakdown," and decoding MMXXIV reverses it: M+M = 2000, X+X = 20, then the pair I<V gives 5 − 1 = 4, summing back to 2024.

Why the range stops at 3,999

With only the symbols up to M (1000), the largest number you can write before repeating M more than three times is 3,999 = MMMCMXCIX. Writing 4000 would need MMMM, which violates the convention of not stacking four identical primary symbols. Historically, larger values used a vinculum (a bar over a numeral to multiply it by 1,000), but this converter sticks to the universally agreed standard range of 1–3,999, so every result is unambiguous and valid.

Where Roman numerals still appear

  • Clock faces — often with IIII for 4 instead of IV, a traditional stylistic exception.
  • Copyright and film credits — release years like MMXXIV.
  • Sequels and events — Super Bowl numbering, movie franchises, monarch and pope names (Elizabeth II, Louis XIV).
  • Book structure — chapter and volume numbers, and lowercase numerals for front-matter page numbers.
  • Outlines — top-level list items in formal documents.

Common mistakes

  • Stacking four of a kind. 40 is XL, not XXXX; 90 is XC, not LXXXX.
  • Subtracting the wrong symbols. Only I, X, and C subtract, and only from the next one or two steps up — IL for 49 is invalid; the correct form is XLIX.
  • Expecting a zero or negatives. The system has neither; inputs must be 1 to 3,999.
  • Mixing case carelessly. The decoder accepts lowercase and uppercases it, but a stray invalid letter raises an error pinpointing the character.
  • Putting a subtractor before too large a jump. A symbol can only be subtracted from the next one or two values up — VX and IC are not valid forms.

A reference table to keep handy

The tool also shows a quick lookup grid combining the seven base symbols with the six subtractive pairs. Together these thirteen tokens are all you ever need to read or write any value in the standard range:

Symbol(s)Value
I, V, X, L, C, D, M1, 5, 10, 50, 100, 500, 1000
IV, IX, XL, XC, CD, CM4, 9, 40, 90, 400, 900

Reading any numeral is then a matter of scanning left to right, applying the one subtractive comparison at each pair, and summing — exactly what the decoder does for you.

Runs entirely in your browser

Both conversions and the step-by-step breakdown are computed locally in JavaScript — nothing you type is sent to a server. The tool loads with the current year pre-converted as a live example and works offline.

자주 묻는 질문

{# Alpine.js — self-hosted. (The previous jsdelivr CDN tag had a stale SRI integrity hash, so the browser refused to run it and window.Alpine was never defined — silently breaking every FAQ accordion and Alpine tool.) #}