How do I calculate the exit pupil of binoculars?

The exit pupil is calculated by dividing the objective lens diameter by the magnification. For example, 10x50 binoculars have an exit pupil of 5mm (50 ÷ 10 = 5).