how f&o margin calculated