m can either represent mass or moles, depending on the context.
1000
m stands for measure
Almond M&Ms
m = mass.
Metres
mass.
Can represent anything
M stands for the mass.
M represents Mass
It represents the value of the variable m.
M
None of these could represent anything!