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