how to calculate coast fire