How to build a quote calculator for lead gen using Gravity Forms (step by step tutorial)

Offering a quote calculator on your website is a powerful way to convert site visitors into leads. In this step-by-step guide, we’ll show you how to build a fully functional quote calculator using Gravity Forms, and manage leads on the front-end using GravityView. Whether...

Offering a quote calculator on your website is a powerful way to convert site visitors into leads. In this step-by-step guide, we’ll show you how to build a fully functional quote calculator using Gravity Forms, and manage leads on the front-end using GravityView.

Whether you’re a freelancer, consultant, or run a service-based agency, a quote calculator gives potential clients quick pricing estimates while enabling you to collect lead data and follow up effectively.

Download the free quote calculator form template now!

Import the template into Gravity Forms and customize as necessary.

We’ll email it to you right away!

A quote calculator form

What you’ll need

Here are the plugins you’ll need to build a quote calculator like the one in this tutorial:

What is a quote calculator?

A quote calculator is an interactive form that helps visitors estimate the cost of services or products based on inputs they select (like company size, number of projects, or consulting hours).

On top of streamlining the pricing conversation, quote calculators offer two major benefits:

  • Save time by answering common pricing queries automatically
  • Capture valuable leads by requesting contact details like name and email

Why use Gravity Forms to build a quote calculator?

Gravity Forms is a powerful form builder plugin for WordPress that comes with advanced features like conditional logic, calculations, and merge tags. With a few number fields and simple formulas, you can turn any form into a smart quote calculator.

Quote calculators are also great lead generators! Here are some businesses that can benefit from having a quote calculator:

Step 1: Create the quote calculator form

In this example, we’ll create a quote calculator for a consulting business.

To create a new form in Gravity Forms, we’ll hover over “Forms” and click “New Form”. After giving our form a name, we can start adding fields using the drag-and-drop editor.

The Gravity Forms editor

In order for us to send the client an estimated quote, we’ll need them to tell us a bit about their business and what they require. With this in mind, we’ll add the following fields to our form:

  • Name (Name field)
  • Email (Email field)
  • Company size (Radio Buttons)
  • Number of projects you need help with (Radio Buttons)
  • How many consultation hours do you need? (Number)
  • Price per hour (Hidden Number field)
  • Quote estimate (Hidden Number field)

Step 2: Configure the pricing logic

The estimated quote we give to the client is going to differ depending on their company size, number of projects, and number of consulting hours needed.

Here’s the formula we’ll use:

Company size + Number of projects + (Consultation hours × Hourly rate)

Here’s how we can set this up:

  1. We’ll assign dollars values to the different options for “Company Size” and “Number of Projects”
  2. Set the hourly rate (e.g., $50) in the hidden “Price per Hour” field.
Radio Buttons field settings in Gravity Forms showing the label and value for each option

As you can see from the screenshot above, we’ve attached a value (in dollars) to each company size. So, the larger the company, the more we’ll charge as a base consulting rate. 

We’ll do the same thing for the number of projects. In other words, the more projects the client needs help with, the more we’ll charge.

Radio Buttons field settings in Gravity Forms showing the label and value for each option

Next, we ask the client how many consulting hours they think they’ll need. For this, we’re using a “Number” field, allowing the client to input any number of hours they like. We’ll need to attach a dollar value to this, so for that, we’ll use a separate hidden field containing our standard hourly rate (e.g. $50).

A hidden field with the label 'Price per hour'

If the user enters 10 hours, then the overall cost should amount to $500. So far, so good!

Finally, we’ll add another hidden “Number” field to our form labeled “Quote estimate”. We’ll use this field to output the final amount of the quote.

A Hidden field with the label 'Quote estimate'

To do this, we’ll open the field settings, scroll down and check the box that says “Enable Calculation”.

A checkbox labeled 'Enable Calculation'

We can now use Gravity Forms merge tags to input the formula that works out the estimated quote:

{Company size: 6} + {Number of projects you need help with: 10} + ({Price per hour:4} * {How many consultation hours do you need?:8})
A calculation written using Gravity Forms merge tags

Step 3: Display the quote upon submission

The next step is to take the estimated quote amount and display it in the confirmation message after the user submits the form. To do that, we’ll hover over “Settings”, click “Confirmations”, edit the default confirmation message and add the following text:

Here’s your estimated quote: ${Quote Estimate:9}. 

Want to take the next step? [Contact us here].
The Gravity Forms Confirmation text editor.

That’s it!

Now, when a potential client submits our form, like this:

Gravity Forms quote calculator form on the front end

They’ll see a message with their estimated quote, along with a link to contact us so we can start working together!

Pretty cool, right? Feel free to take this example and run with it! You can build a simpler or more sophisticated quote calculator form depending on your use case.

Pro tipYou can also email quotes to customers by adding the quote total inside a notification email. Learn more about Gravity Forms Notifications.

Step 4 (Optional): Manage leads from the frontend using GravityView

If your quote form gets used frequently, you’ll want a way to track submissions and follow up with clients—all without logging into the WordPress backend.

Using GravityView, you can create a searchable, sortable “Quote Requests” table that displays form entries directly on a front-facing web page.

Here’s how to do it:

  1. Hover over GravityKit and click “New View”
  2. Pick your quote form as the data source
  3. Choose a layout (e.g. DataTables for sorting/searching)
  4. Add the form fields you want to display in the “Entries Fields” section
  5. Add a “Status” field to track each submission (e.g. “New,” “Contacted,” “In Progress”)

Configuring the View

We’ll create a new View by hovering over “GravityKit” in the sidebar and clicking on “New View”. After giving our View a name, we’ll select our quote form as the data source and choose a View layout. For this example, we’ll use the DataTables layout.

The screen you see when creating a new View. The data source is highlighted and so is the DataTables layout type

Now we can start adding fields to our table using GravityView’s drag-and-drop editor. To add new fields, we’ll scroll down to the “Entries Fields” section and click on the ‘Add Field’ button. 

The 'Add Field' button allowing you to add fields to the View Editor

This brings up a list of all our form fields; we can click on one to add it to our layout.

The GravityView View editor showing a list of fields

GravityView also allows users to edit form entries from the frontend. To enable this functionality, all we need to do is click on the “Edit Entry Layout” tab at the top of the View editor and add the fields we want to be editable. After that, we’ll add a link to the Edit Entry page in our table.

The GravityView Edit Entry Layout

Now we can add a search bar, allowing users to search for specific entries and filter entries by specific values. We’ll do this by adding a Search Bar widget to the Multiple Entries Layout and configuring the different search inputs.

Okay, let’s take a look at our View on the front end.

Searching leads by status in a View

As you can see, each new lead is displayed in a table, along with the information they filled out in the form. We also added a “Status” column, allowing us to track the status of each lead. This is how we know whether it’s a new lead and whether they’ve already been contacted by our marketing team.

The 'Status' column

To update the status of an entry, all we need to do is click on the “Edit Entry” link. This takes us through to the Edit Entry screen, where we can update the entry’s status directly from the frontend.

Editing an entry on the front end

This system allows our sales team to see new leads without having to log in to the backend of our site. They can also track their statuses and update information as required.

Pro tipIf you want to learn more about GravityView and see what else is possible, check out our live demos.

Build a Gravity Forms quote calculator today!

In this tutorial, we created a fully functioning quote calculator that:

  1. Generates tailored estimates for users
  2. Captures leads via email
  3. Lets your team manage and follow up with entries

Ready to build yours? Download our free template and import it into Gravity Forms to get started in minutes.

If you want to go even further, check out additional tutorials: