Skip to content
Sign in
CI Age Calculator icon

CI Age Calculator

Use our free online Age Calculator to find your exact age in years, months, days, hours, and seconds.

Not scanned yet WordPress plugin

Install in

No install steps yet

Follow the steps on the source page.

Use our free online Age Calculator to find your exact age in years, months, days, hours, and seconds. Quickly calculate your birthday or time between dates.

Add the calculator to any page, post or widget area with the shortcode [ci_age_calculator].

What you enter: Date of Birth, Age at the Date of.

What you get: Age, shown in years, months, weeks, days, hours, minutes, seconds.

Features:

  • Works as soon as it is activated: no account, no API key and no settings page.
  • Calculates in your visitor’s browser. Nothing they type is sent to calculator.io or anywhere else, and the plugin loads no ads, trackers or external scripts.
  • Responsive: the form and the results sit side by side on wide pages and stack on narrow ones. The frame resizes itself to fit the calculator.
  • Optional light, dark or automatic (follows the visitor’s system setting) theme, a custom accent color and a maximum width, all set in the shortcode.
  • The calculator runs in an iframe, so your theme’s styles cannot break it and it cannot break your theme.

More about this calculator: https://www.calculator.io/age-calculator/

Usage

Add the Age Calculator shortcode to your page, post or sidebar:

[ci_age_calculator]

Or add the following code to your template where you would like the Age Calculator to appear:

<?php echo do_shortcode( '[ci_age_calculator]' ); ?>

All attributes are optional:

  • title – 1 (default) shows the calculator heading with its icon, 0 hides it. Example: [ci_age_calculator title="0"]
  • theme – light (default), dark, or auto to follow the visitor’s light/dark system setting. Example: [ci_age_calculator theme="auto"]
  • accent – an accent color for buttons and highlights, as a hex value. Example: [ci_age_calculator accent="#2563eb"]
  • max_width – the widest the calculator may be: a number followed by px, % or rem. The calculator is centered when it is narrower than its column. Example: [ci_age_calculator max_width="720px"]

Attributes can be combined: [ci_age_calculator title="0" theme="auto" accent="#2563eb" max_width="720px"]

Source code and libraries

The plugin’s own JavaScript and CSS are shipped unminified and human-readable: assets/js/*.js (except assets/js/lib/), assets/css/main.css, assets/css/ci-widget.css, assets/css/ci-embed.css and the PHP file. main.css is the compiled, unminified stylesheet of calculator.io. The calculator is also published on the calculator.io website: https://www.calculator.io/age-calculator/

Third-party libraries bundled in assets/js/lib/. Where a file is minified, the readable source is available at the upstream address:

  • math.js 3.37.1 (Apache-2.0) – assets/js/lib/math.min.js, minified build. Source: https://github.com/josdejong/mathjs
  • marked 15.0.12 (MIT) – assets/js/lib/marked.min.js, minified build. Source: https://github.com/markedjs/marked
  • Inputmask 5.0.9-beta.70 (MIT) – assets/js/lib/input-mask.min.js, minified build. Source: https://github.com/RobinHerbots/Inputmask
  • lazysizes 5.3.2 (MIT) – assets/js/lib/lazysizes.js. Source: https://github.com/aFarkas/lazysizes
  • Air Datepicker 3.3.0 (MIT) – assets/js/lib/air-datepicker.js. Source: https://github.com/t1m0n/air-datepicker
  • Inter font (SIL Open Font License 1.1) – assets/fonts/inter-v20-latin.woff2. Source: https://github.com/rsms/inter

Written by Joobi from the project's own listing. See the source page

age calculatorbirthday calculatorcalculate exact agechronological age calculatordate of birth calculator
26 Nov 2026
Version 1.1.1 released. Not scanned yet.

1.1.1

  • Tested up to WordPress 7.2
  • Faster result updates and a more responsive on-screen number pad on phones
  • Calculation and wording fixes carried over from calculator.io

1.1.0

  • New shortcode attributes: title, theme (light, dark, auto), accent and max_width
  • Responsive layout: form and results wrap into one column on narrow pages, wide tables scroll inside their own box
  • The frame now follows the calculator’s height when it changes or the window is resized
  • Fixed the missing heading icon
  • The plugin’s JavaScript and CSS are now shipped unminified
  • The WordPress-side script and styles load only on pages that use the shortcode

1.0.1

  • Removed leftover files of earlier plugin versions
  • Tested up to WordPress 7.1

1.0.0

  • Initial release of Age Calculator
19 Oct 2026Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)