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.
How to use the Ordinal Number Generator
- 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.
- Pick the output format: suffix (1st), superscript (1ˢᵗ), HTML, words (first) or number with words.
- Set the separator and word options such as capitalisation or the British "and".
- Press Generate ordinals (the result also updates as you type), then Copy or Download.
Ordinal numbers 1 to 31 (dates of the month)
| Number | Ordinal | Words | Number | Ordinal | Words |
|---|---|---|---|---|---|
| 1 | 1st | first | 17 | 17th | seventeenth |
| 2 | 2nd | second | 18 | 18th | eighteenth |
| 3 | 3rd | third | 19 | 19th | nineteenth |
| 4 | 4th | fourth | 20 | 20th | twentieth |
| 5 | 5th | fifth | 21 | 21st | twenty-first |
| 6 | 6th | sixth | 22 | 22nd | twenty-second |
| 7 | 7th | seventh | 23 | 23rd | twenty-third |
| 8 | 8th | eighth | 24 | 24th | twenty-fourth |
| 9 | 9th | ninth | 25 | 25th | twenty-fifth |
| 10 | 10th | tenth | 26 | 26th | twenty-sixth |
| 11 | 11th | eleventh | 27 | 27th | twenty-seventh |
| 12 | 12th | twelfth | 28 | 28th | twenty-eighth |
| 13 | 13th | thirteenth | 29 | 29th | twenty-ninth |
| 14 | 14th | fourteenth | 30 | 30th | thirtieth |
| 15 | 15th | fifteenth | 31 | 31st | thirty-first |
| 16 | 16th | sixteenth |
The suffix rule in one table
| Number ends in | Suffix | Examples |
|---|---|---|
| 11, 12 or 13 (last two digits) | th | 11th, 12th, 13th, 111th, 212th, 1013th |
| 1 (but not 11) | st | 1st, 21st, 101st, 1001st |
| 2 (but not 12) | nd | 2nd, 22nd, 102nd, 3042nd |
| 3 (but not 13) | rd | 3rd, 33rd, 103rd, 2023rd |
| 0, 4, 5, 6, 7, 8 or 9 | th | 0th, 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.