Safe Dose Calculation Formula