Overview
Tone numbers are numerical digits used like letters to mark the tones of a language. The number is usually placed after a romanized syllable. Tone numbers are defined for a particular language, so they have little meaning between languages.
Other means of indicating tone in romanization include diacritics, tone letters, and orthographic changes to the consonants or vowels. For instance, in Mandarin, the syllable (which has a falling-rising tone) is represented in Wade-Giles romanization as ma3, with a tone number; in Hanyu Pinyin as mǎ, with a diacritic; and in Gwoyeu Romatzyh as maa, with a change in the vowel letter.
In Chinese
In the Chinese tradition, numbers, diacritics, and names are assigned to the historical four tones (level, rising, departing, and entering) of Chinese. These are consistent across all Chinese dialects, reflecting the development of tone diachronically. In the later stage of Middle Chinese, voiced consonants (such as b-, d-, g-, z-) began to merge into voiceless ones (p-, t-, k-, s-) and such voiceless-voiced consonant contrast was substituted by further high-low pitch contrast (yin, and yang). It is also common to number the tones of a particular dialect independently of the others. For example, Standard Chinese has four–five tones and the digits 1–5 or 0–4 are assigned to them; Cantonese has 6–9 tones, and the digits from 0 or 1 to 6 or 9 are assigned to them. In this case, Mandarin tone 4 has nothing to do with Cantonese tone 4, as can be seen by comparing the tone charts of Standard Chinese (Mandarin), Cantonese, and Taiwanese Hokkien.
Note: Tone sandhi rules and the unstressed syllable of Mandarin are not listed here for simplicity.
From Wikipedia (CC BY-SA 4.0).