Estimated gross profit equals revenue excluding tax minus the purchase cost of items sold, valued at the weighted average unit cost, recalculated at every stock receipt.