β vs ß: Greek small letter beta or Latin small letter sharp s (German eszett)

ß is a German letter for a double s sound. β is Greek beta. Old keyboard Alt code 225 gives ß, which is why the two are often swapped.

β

Greek small letter beta

Unicode
U+03B2
HTML
β
UTF-8
CE B2
LaTeX
\beta

Use it for: Greek text, beta particles, regression coefficients.

ß

Latin small letter sharp s (German eszett)

Unicode
U+00DF
HTML
ß
UTF-8
C3 9F
LaTeX
\ss

Use it for: German words only.

Why it matters: two characters that look the same are different to search engines, spell checkers, screen readers and databases. A search for one will not find the other.

Questions

What is the difference between β and ß?

ß is a German letter for a double s sound. β is Greek beta. Old keyboard Alt code 225 gives ß, which is why the two are often swapped.

When should I use β?

Greek text, beta particles, regression coefficients.

When should I use ß?

German words only.

More: Beta letter entry and Curled beta.

Other look-alike pairs