A much simpler formula taught when I was an apprentice:
For HSS tooling, on mild steel:
400 divided by job diameter (in inches) = RPM.
For carbide tooling, double the RPM found by the above formula.
For brass or aluminium, double the RPM.
For cast iron or alloy tool steel etc, halve the RPM...