Friction is the retarding force coming into play when two bodies are in contact with each other.

Friction formula in general is given by

Where,
Ff is the magnitude of friction,
$\mu$ is the coefficient of friction and
F
n is the magnitude of normal force.
The Normal force = Weight of the given body. Hence Normal force F
n is given by

Where,
m is the mass of the body and
g is the gravity.
Friction formula is used to calculate the friction between the any two given bodies.