The total margin required for a trade comprises the SPAN and exposure margins. The SPAN margin is calculated based on position risk, while the exposure margin covers additional risks like extreme market movements.