Accounting for uncertainty in calculations