Want to calculate the number of days between two dates or the date before/after a certain time? Count on this date calculator plugin for a code-free solution! 📅

Approximate read time: 4.5 minutes
Whether for travel planning, appointment scheduling, or estimating delivery dates, a well-made date calculator can drastically improve the user experience on your site.
And it can actually be super simple to do.
In fact, with the right WordPress plugin, you won’t even have to write a line of code! Phew! 😮💨
Let’s look at a few ways online date calculators can work for your website, then see how easy it is to create your own custom calculator.

Who can use a date calculator on their website?
- 🛍️ eCommerce sites - Show customers the date they’ll receive their order for various delivery options
- 🗺️ Travel & tour providers - Instantly determine travel dates based on the duration of a vacation or add a visa calculator to count the number of days or months spent in a country over a certain period
- 🏥 Health & well-being - Include calculators for pregnancy due dates, babies, and family planning; suggest dates for follow-up appointments; or calculate how many days, weeks, months, or years users have maintained healthy habits
- 🎟️ Event websites - Build anticipation for your event with a countdown to a specific date and time
And those are only a few ways an online date calculator can benefit you and your site visitors.
💬 How are you going to use date calculators on your website? Leave a comment at the end of this post to let us know! 👇

Now we know what we can do with online calculators, let’s look at the fastest and easiest way to create a date calculator for WordPress — the Formidable Forms Datepicker Options plugin! 🔌
Formidable Forms online date calculator builder
Formidable Forms already made building custom online calculators super simple.
Our WordPress calculator plugin comes with pre-built templates for making mortgage calculators, age calculators, BMI calculators, and more.
And now, thanks to Formidable’s new and improved time and datepicker, you can also create date-to-date calculators and date difference calculators. 🗓️
The plugin even lets you black out dates to count only work days rather than calendar days, for example.
So, whether you need to know the date 90 days from today or want to determine how long it took to complete a project by subtracting the starting date from the end date, Formidable has all the functions you need.
How to make a date calculator online without coding
Step 1: Install and activate Formidable Forms
If you haven't already, install and activate Formidable Forms Pro.
Then, from your WordPress dashboard, go to Formidable → Add-Ons and click the Install button for the WordPress Datepicker Options plugin.

Step 2: Create a form with at least one date field
Next, click Forms → + Add New to make a new calculator form. Choose one of our templates or pick Blank Form to build your date calculator from the ground up.
In the drag-and-drop form builder, add fields to your form by double-clicking on your chosen field or dragging it onto the form preview. 🏗️
For this example, we’re creating a date calculator to give us the date a certain number of years, months, weeks, or days before or after a particular date.
So, let’s go ahead and add date fields, radio buttons, and a number field to our form.

Got your form all set up? Great! 👏
Now it’s time to work some magic and make it do the math for us.
Step 3: Set up date calculations
So our calculator can crunch the numbers, we need to add formulas to our second date field.
Oh no, not equations. 🫣 Don’t panic — we promise it’s way easier than in Excel!
All we need to do is double-click on the result date field to display the field options.

Under the Advanced section, click the calculator icon in the Default Value box to access date calculations.
Set the Start date, then use the Date Difference field to insert dynamic values from other form fields or a preset formula.

Here are a couple of shortcodes and calculations that may be helpful 🤓
Date difference calculator
To calculate the number of days, weeks, months, or years between two dates
- Current date and a future date
- Start date: [date]
- Date difference: [end date field id] - [start date field id]
- Specified date and a future date
- Start date: [start date field id]
- Date difference: [end date field id] - [start date field id]
Or follow along with our step-by-step guide on how to calculate days between dates for more help.
Find the date a specific period before or after a given date
Add to or subtract from a specific date
- Start date: [start date field id]
- Date difference: [operator][period][start date field id]
Check out our article on how to calculate a day from a date for more details. You can also find all of the accepted date formats and formulas over in this knowledge base post.
Step 4: Publish your form!
Still with us? Awesome, you’re almost finished!
The last thing left is to publish your date calculator on your website. And fortunately, Formidable Forms makes it even easier than algebra. 🧮
First, make sure to click Update in the upper right corner of the form builder to save your calculator form. 💾 Then, open the WordPress post or page where you want to publish your online calculator.
Add the Formidable Forms block in the WordPress editor and pick your date calculator from the form dropdown list.

Update or Publish the page or post, and you’re all done! Your custom date calculator is now online! 🥳

Ready to add an online date calculator to your website?
The many benefits of online date calculators really add up. And the biggest may just be a boost in backlinks. 🔗
By creating a calculator that visitors love, you’re sure to get more shares and multiply both traffic and engagement.
And now that you know there’s such a quick and easy way to build a WordPress date calculator without code (or calculus), what are you waiting for? ⏱️
Grab Formidable’s date calculator plugin today and watch your website grow exponentially!
Get the date calculator plugin
In case you were wondering, Formidable Forms can also do way more than create date calculators. It's the most powerful WordPress form builder around, perfect for making surveys, signup forms, online quizzes, and even charts and graphs. 📈
Discover all of Formidable's features then be sure to follow us on Facebook, Twitter, and YouTube for more WordPress wisdom.
Is it possible to combine units (days and months) into a single calculation? i.e. [date]+[x][days]+[x][months]?
Hey there,
We have responded to your question in the help ticket you recently opened.
Best,