The question is a little too general, Sam. There isn't one coding to do
calculation, there are many different approaches to performing many
different types of calculation, in many different contexts. You'll need to
be more specific about what you want to do, and in what context you want to
do it - e.g., in a query, a form, a report, or a data access page.