  # Math by GravityView

## Simple arithmetic and advanced calculations for Gravity Forms and GravityView.

Using Gravity Forms to collect numerical data? Now you can perform advanced calculations on that data. Display the number of form submissions, calculate the average age of your respondents, build a front-end calculator, display the total amount donated, and more!

## Uncover game-changing insights

Your Gravity Forms data is a veritable treasure trove of information, so why let that go to waste? Math by GravityView integrates with Gravity Forms to help you extract important insights from the data you collect. Build a mortgage calculator, analyze your business data, create product reports, work out the ROI of your marketing campaigns, and more!

### Perform form-wide calculations:

• Show the sum of field values
• Display the number of entries in a form
• Get the average of field values
• Reveal the highest field value
• Show the lowest field value

## Display calculations anywhere on your website

Using the powerful `[gv_math]` shortcode, you can output calculations anywhere on your WordPress website. Embed your calculations inside Gravity Forms confirmations, notifications, widgets, pages, posts – literally anywhere!

Using Math by GravityView, you can perform advanced calculations without breaking a sweat. Need to calculate the logarithm, cube root, or arctangent of a number? No problem! Math by GravityView also supports mathematical constants such as ‘pi’ and ‘e’. Gravity Forms not required.

## “Pure” Math

Do mathematical calculations. Gravity Forms and GravityView not required. Simple arithmetic in WordPress is now easy: `[gv_math]129 * 293[/gv_math]` Advanced calculations are possible, too. Want to calculate the area of a circle? Here’s how to do πr2 with a radius of 4.5: `[gv_math] PI * pow( 4.5, 2 ) [/gv_math]`

## Build dynamic applications

Already got GravityView installed? You can use Math inside a View to add footer calculations to your table layouts (like average, sum, max, min, etc), create calculated columns, perform calculations for all visible entries, and more!

• Calculate values for the now visible entries (great for showing a total or average value)
• Perform advanced calculations between multiple fields
• Works great in a Custom Content field or widget

## FAQ

Q: Does Math by GravityView allow you to perform live-updating calculations inside a form?

A: No. Math by GravityView allows you to perform calculations on existing Gravity Forms entries.

Q: Does Math by GravityView support advanced functions, like logarithms?

A: Yes! The [gv_math] shortcode supports a range of mathematical functions including sine, cosine, log, square root, and much more.

Q: Can I use Math by GravityView to build a loan calculator?

A: Yes. Although Math by GravityView doesn’t work inside a form, it can be used to display calculation results inside the confirmation message once the form has been submitted. Check out this tutorial for more information.

Q: Can I perform time calculations using Math by GravityView?

A: Math by GravityView allows you to calculate durations (`hh:mm:ss`) including fastest time, slowest time, and average time. However, Math by GravityView cannot calculate dates and times (e.g. `dd/mm/yy h:m:s` + `dd/mm/yy h:m:s`)