# Numbers, dates, and units

Source: https://watership.ca/style-guide/numbers-dates-and-units/

Decides when a number is a numeral, how dates and times are written for people and for machines, and how units, currency, and ranges attach to their numbers.

A number is the one part of a sentence a reader can act on without reading the words around it. They copy a limit into a config file, set an alarm for a time, or budget against a price. So the rules here lean toward whatever is hardest to misread.

One distinction runs through the whole section. Anything a machine reads, or a person reads while working with a machine (logs, filenames, tables, interface text, code), takes the denser form: numerals, ISO dates, 24-hour times. Prose for people takes the form people say aloud.

## Numerals and words

### Numerals for 10 and up

Rule `num-numerals-ten-and-up`: avoid, mechanical. Address: https://watership.ca/style-guide/numbers-dates-and-units/#num-numerals-ten-and-up

**Spell out zero through nine; use numerals for 10 and up.** Numerals always win, whatever the size, for measurements, percentages, version numbers, times, money, anything that appears in interface text (a button, a dialog, a message: “Delete 3 files?”), any number compared with a numeral in the same sentence (“3 of 12 tests failed”), and any limit or threshold a rule or check states (“more than 8 words”, “9 items or fewer”, “past 9 steps”, “wider than 5 columns”). A version number takes the word in prose, “version 4.2” or “version 1 of the API”; the short form “v4.2” belongs only in interface text, tags, and code, never in a prose sentence. Ages, street numbers, and the numbers in a score or vote count are numerals too, as `num-ages`, `num-addresses`, and `num-scores-and-tallies` set out.

- Instead of: The job retries 3 times before it fails.
- Write: The job retries three times before it fails.
- Instead of: The request waits five seconds.
- Write: The request waits 5 seconds.
- Instead of: Upgrade to v4.2 before the end of the month.
- Write: Upgrade to version 4.2 before the end of the month.

### No sentence-initial numeral

Rule `num-no-sentence-initial-numeral`: avoid, mechanical. Address: https://watership.ca/style-guide/numbers-dates-and-units/#num-no-sentence-initial-numeral

**Don’t start a sentence with a numeral.** Spell the number out or rewrite so it moves inside the sentence. A numeral after a period looks like a stray list marker.

- Instead of: 12 regions are available in Acme Cloud.
- Write: Acme Cloud has 12 regions.

### Ordinals

Rule `num-ordinals`: avoid, mechanical. Address: https://watership.ca/style-guide/numbers-dates-and-units/#num-ordinals

**Spell out first through ninth; write 10th and up as numerals with the suffix on the line.** The threshold is the same as for cardinal numbers, so “the third attempt” and “the 12th release” sit together without a second rule. Never raise the suffix as a superscript: it shrinks to a size some readers can’t see, and it breaks when text is copied. Don’t put an ordinal in a date; a date takes the plain numeral, as `num-date-forms` says.

*Drafted, awaiting review.*

- Instead of: The 3rd failed login locks the account.
- Write: The third failed login locks the account.
- Instead of: The twelfth release drops support for version 2.
- Write: The 12th release drops support for version 2.

### Fractions and decimals

Rule `num-fractions-and-decimals`: avoid, mechanical. Address: https://watership.ca/style-guide/numbers-dates-and-units/#num-fractions-and-decimals

**Spell out a simple fraction that stands alone, use decimals for anything measured, and put a zero before a decimal point.** Write “two-thirds of customers” and “half the team,” hyphenated when the fraction is spelled out. A fraction attached to a unit or a whole number becomes a decimal: 2.5 GB, 1.5 m. Write 0.5, never .5, because a lone point is easy to miss and easy to lose in a copy. Give as many decimal places as the measurement supports, and the same number of places to every figure compared in one sentence or one column. Don’t use fraction characters such as ½, or a slash fraction such as 1/2, outside a formula or code. Durations follow `num-durations` instead.

*Drafted, awaiting review.*

- Instead of: Response times fell by .25 seconds, and 1/2 of requests now finish in 1.5 or 2.25 seconds.
- Write: Response times fell by 0.25 seconds, and half of requests now finish in 1.50 or 2.25 seconds.

### Roman numerals

Rule `num-roman-numerals`: avoid, mechanical. Address: https://watership.ca/style-guide/numbers-dates-and-units/#num-roman-numerals

**Use Arabic numerals for parts, phases, volumes, and versions; keep a roman numeral only where it is part of a name.** Readers parse “Phase 3” at a glance and have to work out “Phase III.” When a law, a published title, or a product spells its name with roman numerals, copy the name as it stands, and use Arabic numerals everywhere else in the same document.

*Drafted, awaiting review.*

- Instead of: Phase II of the migration starts after the Part IV review.
- Write: Phase 2 of the migration starts after the Part 4 review.

### Ages

Rule `num-ages`: avoid, mechanical. Address: https://watership.ca/style-guide/numbers-dates-and-units/#num-ages

**Write ages as numerals, even below 10.** An age is a fact a reader checks against a limit, such as an eligibility rule or a price band, so it takes the form that reads fastest. This is an exception to `num-numerals-ten-and-up`. Hyphenate an age that comes before a noun or stands as a noun (“a 7-year-old,” “a 7-year-old laptop”), and leave it open after the noun (“the child is 7 years old”). Give an age group as a range or a limit: “ages 18 to 24,” “people 65 and older.” Mention a person’s age only when it matters to the point, as Inclusive and accessible language says.

*Drafted, awaiting review.*

- Instead of: The free plan is open to students aged sixteen and up, and children under five ride free.
- Write: The free plan is open to students 16 and older, and children under 5 ride free.

### Scores, votes, and results

Rule `num-scores-and-tallies`: avoid, mechanical. Address: https://watership.ca/style-guide/numbers-dates-and-units/#num-scores-and-tallies

**Give scores, vote counts, and results as numerals, larger number first, joined by “to” in prose and by an en dash in tables.** A tally is a comparison, so every part of it is a numeral, even below 10. Name what was counted the first time, and report abstentions and spoiled ballots in their own clause rather than folding them into the count. Never join the numbers with a hyphen.

*Drafted, awaiting review.*

- Instead of: The board approved the budget by a vote of seven-2.
- Write: The board approved the budget 7 votes to 2, with 1 abstention.
- Instead of: Members voted 38-412 against the change.
- Write: Members rejected the change, 412 votes to 38.

## Dates

### Date formats

Rule `num-date-format`: avoid, mechanical. Address: https://watership.ca/style-guide/numbers-dates-and-units/#num-date-format

**Write dates as 2026-09-15 where machines read them and as September 15, 2026 in prose.** The ISO form (year, month, day, with hyphens) is for logs, filenames, tables, code, and anything a script might parse. In prose, write the month in full, the day as a numeral, and a comma before the year. A pattern catches the wrong forms in prose: an all-numeric date, an abbreviated month, and a missing comma before the year.

- Instead of: The certificate expires on 2026-09-15.
- Write: The certificate expires on September 15, 2026.

### No slash dates

Rule `num-no-slash-dates`: never, mechanical. Address: https://watership.ca/style-guide/numbers-dates-and-units/#num-no-slash-dates

**Don’t write a date as numbers separated by slashes or dots.** “09/10/2026” is September 10 in one country and October 9 in another, and nothing on the page tells the reader which. The ISO form is the only all-numeric date the guide allows.

- Instead of: Support for version 4 ends on 10/09/2026.
- Write: Support for version 4 ends on October 9, 2026.

### Weekdays, months, and years

Rule `num-date-forms`: avoid, mechanical. Address: https://watership.ca/style-guide/numbers-dates-and-units/#num-date-forms

**Add the day of the week only when the reader acts on that day, write it before the date with a comma after it, and never put an ordinal in a date.** A weekday helps with a closure, an event, or a deadline; elsewhere it is one more thing to check. When you give one, check it against a calendar, because a wrong weekday makes the reader doubt the date. Write “Saturday, March 21, 2026.” A month and year take no comma and no “of”: “March 2026.” Write the day as a plain numeral, “March 21,” never “March 21st” or “the 21st of March.”

*Drafted, awaiting review.*

- Instead of: The office is closed on the 21st of March, 2026 (a Saturday).
- Write: The office is closed on Saturday, March 21, 2026.
- Instead of: The policy took effect in March of 2026.
- Write: The policy took effect in March 2026.

### Centuries, decades, and eras

Rule `num-centuries-and-eras`: avoid, mechanical. Address: https://watership.ca/style-guide/numbers-dates-and-units/#num-centuries-and-eras

**Write “the 21st century” and “the 2020s,” and add BCE or CE only when the era isn’t obvious.** A century follows `num-ordinals` (“the fifth century,” “the 21st century”), with “century” in lowercase and a hyphen when it comes before a noun (“21st-century records”). A decade takes all four digits and a plain “s”: never “the ’20s” or “the twenties,” which leave the century to the reader. Write “the early 2010s” and “the mid-2020s.” For a year before 1000, or a range that crosses year 1, put BCE or CE after the number with a space and no periods; don’t use BC or AD.

*Drafted, awaiting review.*

- Instead of: The archive holds letters from the twenties and a map from 300 B.C.
- Write: The archive holds letters from the 1920s and a map from 300 BCE.

## Times

### 12-hour time in prose

Rule `num-times`: avoid, mechanical. Address: https://watership.ca/style-guide/numbers-dates-and-units/#num-times

**Use 12-hour time with a.m. and p.m. in prose, 24-hour time in technical contexts, and a time zone whenever the reader might be elsewhere.** Write “a.m.” and “p.m.” in lowercase with periods, after a space. Use the 24-hour form in logs, schedules, tables, and interface text. Name the zone (“3 p.m. Eastern,” “15:00 UTC”) in anything read outside one office. A pattern catches “3PM,” “3 PM,” a 24-hour time inside a sentence, and a time with no zone after it.

- Instead of: The maintenance window opens at 3PM.
- Write: The maintenance window opens at 3 p.m. Eastern.

### Durations

Rule `num-durations`: avoid, mechanical. Address: https://watership.ca/style-guide/numbers-dates-and-units/#num-durations

**Write a duration in prose as numerals with the unit spelled out, in whole units.** Write “2 hours,” “90 days,” and “1 hour 30 minutes,” with no comma or “and” between the parts, rather than “1.5 hours,” which readers convert in their heads, sometimes wrongly. Unit symbols (h, min, s, ms) belong in tables, interface text, and technical measurements such as latency, as `num-unit-symbols` sets them; “2h 30m” never appears in a sentence. For a deadline, count in days rather than months or “a business week,” whose length varies: “within 30 days.” Hyphenate a duration before a noun: “a 30-day trial.”

*Drafted, awaiting review.*

- Instead of: Backups take 1.5 hrs, and the trial lasts one month.
- Write: Backups take 1 hour 30 minutes, and the trial lasts 30 days.

## Units and measurements

### Metric first

Rule `num-metric-first`: avoid, judgment. Address: https://watership.ca/style-guide/numbers-dates-and-units/#num-metric-first

**Give metric units first, with imperial in parentheses only if the audience needs it.** Most readers of software documentation use metric. Don’t give imperial alone.

- Instead of: The sensor works up to 50 feet from the base.
- Write: The sensor works up to 15 m (50 ft) from the base.

### Space before a unit

Rule `num-unit-space`: avoid, mechanical. Address: https://watership.ca/style-guide/numbers-dates-and-units/#num-unit-space

**Put a space between a number and its unit, except before % and °.** Write 10 GB, 5 ms, and 250 MB, but 95% and 40°C. Percentages are always numerals with the sign, even below 10: 5%, never “five percent.”

- Instead of: The response arrived in 5ms with a 3 % error rate.
- Write: The response arrived in 5 ms with a 3% error rate.

### Unit symbols

Rule `num-unit-symbols`: avoid, mechanical. Address: https://watership.ca/style-guide/numbers-dates-and-units/#num-unit-symbols

**Write unit symbols in their exact case, never pluralized and never followed by a period.** The case carries meaning: k is kilo and K is kelvin, M is mega and m is milli or meter, B is a byte and b is a bit. Write kB, MB, GB, km, kg, ms, km/h (never kph or KMH), and Mbps for a network rate beside MB/s for a transfer. Use the decimal symbols (kB, MB, GB, a power of 1,000) by default, and the binary ones (KiB, MiB, GiB, a power of 1,024) only where the product measures in them, such as memory limits, and then match what the interface shows. Never write KB, which means either. With no number, spell the unit out: “a few megabytes.”

*Drafted, awaiting review.*

- Instead of: Each upload is limited to 500 KB, or 25 MBs a day, at speeds up to 100 MB per second.
- Write: Each upload is limited to 500 kB, or 25 MB a day, at speeds up to 100 Mbps.

### Temperature

Rule `num-temperature`: avoid, mechanical. Address: https://watership.ca/style-guide/numbers-dates-and-units/#num-temperature

**Give temperatures in Celsius, written 21°C with no space, and add Fahrenheit in parentheses only for a US audience.** The degree sign and the scale letter stay together and touch the number, as `num-unit-space` sets. Round the conversion to the same precision as the original. Use the minus sign for a temperature below zero, as `num-math-signs` says. A temperature in kelvins takes no degree sign and a space: 300 K. “Degrees” alone, without a scale, is never enough.

*Drafted, awaiting review.*

- Instead of: Store the device between -10 and 40 degrees.
- Write: Store the device between −10°C and 40°C (14°F and 104°F).

### Dimensions and ratios

Rule `num-dimensions-and-ratios`: avoid, mechanical. Address: https://watership.ca/style-guide/numbers-dates-and-units/#num-dimensions-and-ratios

**Join dimensions with a multiplication sign and a space on each side, and write a ratio with a colon and no spaces.** Write 3 × 4 m and 800 × 600 pixels, width before height, with the unit once at the end when every number shares it. The letter x is not a multiplication sign: a screen reader reads it as “ex.” A ratio takes numerals and a colon: 16:9, 3:1. A share of people is usually clearer as a percentage, which `num-unit-space` covers.

*Drafted, awaiting review.*

- Instead of: Upload an 800x450 image with a 16 by 9 aspect ratio.
- Write: Upload an 800 × 450 pixel image with a 16:9 aspect ratio.

### Minus and other math signs

Rule `num-math-signs`: avoid, mechanical. Address: https://watership.ca/style-guide/numbers-dates-and-units/#num-math-signs

**Use the minus sign (−) for negative numbers and subtraction, the multiplication sign (×) for multiplication, and words for comparisons in prose.** A hyphen in front of a number can break from it at a line end and reads as a dash. In code, data files, and anything a parser reads, keep the hyphen-minus the parser expects. In a sentence, write “at least 8,” “fewer than 10,” and “or more”; the signs ≤, ≥, <, >, and ± belong in tables, formulas, and tight interface text. Write “three times as fast,” not “3x faster.”

*Drafted, awaiting review.*

- Instead of: Revenue changed by -4% and passwords need >= 12 characters.
- Write: Revenue changed by −4%, and passwords need at least 12 characters.

## Phone numbers and addresses

### Phone numbers

Rule `num-phone-numbers`: avoid, mechanical. Address: https://watership.ca/style-guide/numbers-dates-and-units/#num-phone-numbers

**Write a phone number in international form, +1 613 555 0142, on anything read outside one country, and as 613-555-0142 on content only North Americans read.** The international form starts with a plus sign and the country code and groups the digits with spaces, so a reader anywhere can dial it. The North American form uses hyphens; don’t use parentheses around the area code or dots between the groups. Write an extension as a word, “extension 214,” after a comma. Don’t spell a number in letters: not every keypad shows them. On the web, link the number with `tel:` and the digits only, `tel:+16135550142`. Examples use the reserved 555-0100 to 555-0199 range, as Safe examples says.

*Drafted, awaiting review.*

- Instead of: Call (613) 555.0142 x214.
- Write: Call +1 613 555 0142, extension 214.

### Street addresses and postal codes

Rule `num-addresses`: avoid, mechanical. Address: https://watership.ca/style-guide/numbers-dates-and-units/#num-addresses

**Write an address in a sentence on one line with the words spelled out, and in a mailing block in the form the postal service uses.** In a sentence, spell out the street type and the province or state, put commas between the parts, name the unit first (“Unit 4, 1200 Example Road, Kanata, Ontario”), and leave out the postal code unless the reader is going to mail something. In a mailing block (a contact page, a form, a letter), give one part per line and follow the postal service of the destination country: in Canada, the unit joined to the street number with a hyphen, the abbreviated street type, and the two-letter province code before the postal code (“4-1200 Example Rd,” then “Kanata ON K2D 0F0”). A street number is always a numeral, even below 10. Write a Canadian postal code in capitals with one space in the middle, a US ZIP code as five digits or as five digits, a hyphen, and four digits, and a post office box as “PO Box 120,” without periods. A direction such as NW stays in capitals without periods in both forms. Examples use invented addresses; a Canadian postal code with D, F, I, O, Q, or U in it can’t belong to anyone, because Canada Post doesn’t use those letters.

*Drafted, awaiting review.*

- Instead of: Visit us at 1200 Example Rd., Unit 4, Kanata, Ont. k2d0f0, or write to P.O. Box 120.
- Write: Visit us at Unit 4, 1200 Example Road, Kanata, Ontario, or write to PO Box 120, Kanata ON K2D 0F0.

## Currency and large numbers

### Currency symbols and codes

Rule `num-currency`: avoid, mechanical. Address: https://watership.ca/style-guide/numbers-dates-and-units/#num-currency

**Put the currency symbol before the number, and use the currency code instead when more than one currency is possible.** On a page read in several countries, put the three-letter code in front with a space: CAD 49, USD 49, EUR 45. Don’t write both the code and the symbol. Data, statistics, and money adds the currency code on a page’s first dollar amount, in `data-dollar-country`.

- Instead of: Plans start at 49$ CAD a month.
- Write: Plans start at CAD 49 a month.

### Thousands separators

Rule `num-thousands-separators`: avoid, mechanical. Address: https://watership.ca/style-guide/numbers-dates-and-units/#num-thousands-separators

**Use commas as thousands separators in prose, and spell out “million” and “billion.”** Write 1,250 and 12,000. Once a number reaches seven digits, pair a numeral with the word (2.5 million) unless the exact figure matters. Numbers in code, logs, and identifiers take no separators at all.

- Instead of: The index holds 2500000 documents.
- Write: The index holds 2.5 million documents.

## Ranges

### Number ranges

Rule `num-ranges`: avoid, mechanical. Address: https://watership.ca/style-guide/numbers-dates-and-units/#num-ranges

**Write “10 to 20” in prose and “10–20” in tables and interface text.** Never use a hyphen for a range, and never pair “from” or “between” with a dash: “from 10–20” is wrong, and “from 10 to 20” is right. A page range in a citation uses the en dash too (“pp. 132–136”), as `cite-locator` sets out.

- Instead of: Expect a delay of 5–10 minutes.
- Write: Expect a delay of 5 to 10 minutes.

### Units and symbols in a range

Rule `num-range-units`: avoid, mechanical. Address: https://watership.ca/style-guide/numbers-dates-and-units/#num-range-units

**Repeat a symbol that touches the number at both ends of a range, and give a spaced unit or currency code once, after the second number.** Write “10% to 20%,” “$10 to $20,” and “−5°C to 10°C,” because “10 to 20%” can be read as starting at 10 of something else. Write “5 to 10 GB” and “USD 10 to 20,” where the unit or code already stands apart. Repeat “million” and “billion” at both ends: “2 million to 3 million,” never “2 to 3 million,” which reads as starting at 2.

*Drafted, awaiting review.*

- Instead of: Prices rose 5 to 8%, and the fund grew from 2 to 3 million.
- Write: Prices rose 5% to 8%, and the fund grew from 2 million to 3 million.

## About this section

**Rules.** 25 in this section: 24 mechanical, 1 judgment. Tiers: 1 never, 24 avoid, 0 prefer.

**Where the sources differ.** Google and Microsoft both write the month in full in prose and say little about where the ISO form belongs; the stock draws that line at logs, filenames, tables, interface text, and code, because a reviewer can see which of those a date sits in.

**Sources.** Google developer documentation style guide, Microsoft Writing Style Guide, and United States Government Publishing Office Style Manual. Adapted under CC BY 4.0, as [Sources and license](https://watership.ca/style-guide/#sources-and-license) sets out.
