Home › Unit Converters › Ordinal Number Generator

Ordinal Number Generator

Convert any number, list or range into ordinals with the right suffix (1st, 2nd, 3rd, 4th, 11th, 12th, 13th, 21st…), as superscript text or as words such as twenty-first and one hundredth. Copy or download the result in the format and separator you need.

Advertisement
Advertisement

How to use the Ordinal Number Generator

  1. Choose Range or List. In Range, enter the first and last number and a step; in List, paste numbers separated by commas, spaces or new lines.
  2. Pick the output format: suffix (1st), superscript (1ˢᵗ), HTML, words (first) or number with words.
  3. Set the separator and word options such as capitalisation or the British "and".
  4. Press Generate ordinals (the result also updates as you type), then Copy or Download.

Ordinal numbers 1 to 31 (dates of the month)

NumberOrdinalWordsNumberOrdinalWords
11stfirst1717thseventeenth
22ndsecond1818theighteenth
33rdthird1919thnineteenth
44thfourth2020thtwentieth
55thfifth2121sttwenty-first
66thsixth2222ndtwenty-second
77thseventh2323rdtwenty-third
88theighth2424thtwenty-fourth
99thninth2525thtwenty-fifth
1010thtenth2626thtwenty-sixth
1111theleventh2727thtwenty-seventh
1212thtwelfth2828thtwenty-eighth
1313ththirteenth2929thtwenty-ninth
1414thfourteenth3030ththirtieth
1515thfifteenth3131stthirty-first
1616thsixteenth

The suffix rule in one table

Number ends inSuffixExamples
11, 12 or 13 (last two digits)th11th, 12th, 13th, 111th, 212th, 1013th
1 (but not 11)st1st, 21st, 101st, 1001st
2 (but not 12)nd2nd, 22nd, 102nd, 3042nd
3 (but not 13)rd3rd, 33rd, 103rd, 2023rd
0, 4, 5, 6, 7, 8 or 9th0th, 4th, 10th, 100th, 1000th

In code, the rule is: take n mod 100; if it is between 11 and 13 use "th", otherwise use "st", "nd" or "rd" for a last digit (n mod 10) of 1, 2 or 3, and "th" for anything else.

Spelling large ordinals

  • Round numbers just add -th: hundredth, thousandth, millionth, billionth. "One" is usually kept: one hundredth, one thousandth.
  • Compound numbers change only the last word: 1,001 is one thousand first (US) or one thousand and first (UK); 1,234,567 is one million two hundred thirty-four thousand five hundred sixty-seventh.
  • Hyphens join tens and units from twenty-one to ninety-nine: forty-second, ninety-ninth.
  • Abbreviations use the last two letters of the word: first → 1st, second → 2nd, third → 3rd, fourth → 4th. That is why "2th" or "3th" are wrong.
  • Other languages use different marks, for example 1.º and 1.ª in Spanish and Portuguese, 1er/1re and 2e in French and 1. in German. This tool produces English ordinals.

Frequently asked questions

What are ordinal numbers?

Ordinal numbers show position or rank in an order: first, second, third, and so on. Cardinal numbers (one, two, three) show quantity. In English, ordinals are written with a suffix after the digits, such as 1st, 2nd, 3rd and 4th, or as words.

How do I know whether to use st, nd, rd or th?

Look at the last two digits. If they are 11, 12 or 13, always use th (11th, 112th, 1013th). Otherwise look at the last digit: 1 takes st, 2 takes nd, 3 takes rd, and every other digit, including 0, takes th. So it is 21st, 22nd, 23rd, but 111th, 112th, 113th.

Why is it 11th and not 11st?

Because the words are eleventh, twelfth and thirteenth, not "eleven-first". The suffix follows how the number is spoken, so the teens 11, 12 and 13 take th, and this repeats in every hundred (111th, 212th, 1013th).

How are ordinal words formed?

Only the last word of the number changes. Most add -th (four → fourth, hundred → hundredth), words ending in y change to -ieth (twenty → twentieth), and a few are irregular: first, second, third, fifth, eighth, ninth and twelfth. So 121 is one hundred twenty-first.

Should the suffix be superscript?

Both are correct. Most modern style guides (AP, Chicago) recommend plain 1st because superscript can shrink and disrupt line spacing, but superscript is traditional in formal documents and invitations. Use the superscript or HTML format if you want it.

Is there a limit on how many numbers I can generate?

Up to 100,000 ordinals at once, which keeps your browser responsive. Words are available up to the decillions (10^33); larger numbers still get the correct suffix.

Related tools