Can the Math extension be used on a Gravity Forms' form?
Unfortunately, no. GravityMath can't be used inside field calculation (as part of a formula) or in any other place inside a form, like an HTML field.
It can only be used on a Post, Page, or inside GravityView's Custom Content field.
Another plugin can achieve that: Advanced Calculations by Gravity Wiz.