What is the exact margin I need?

This is the margin it is showing in Zerodha margin calculator


image

This is the margin its showing in basket order

Now which margin should I consider having in my account ?

Margin Calculator doesn’t count the premium you have to pay to purchase the Option. So whatever margin you get on Margin Calculator you will have to add the amount you will be paying for taking Long Option position.

The margin displayed on Basket Order window displays the margin including the amount needed for taking Long Option position.

You can do the maths, both will be similar, so that is the margin required for you to execute this trade.