Closing stock balance year end

karthikrao (B.com CS(inter) -ongoing)   (170 Points)

06 August 2018  
Sir How to arrive Closing stock for trading accounts as on 31st March.1.Based on Gross profit and purchase.2.if it Gross loss.3.Any formulae.plz explain .thks