WordPress Plugin

Calculators for WordPress

Add GPA, CGPA, attendance, and grade calculators to any WordPress post or page. One shortcode. No coding. Free forever.

⬇ Download Plugin (.zip) ⭐ View on GitHub
✅ Tested with WordPress 5.8 – 6.7  |  PHP 7.4+
Installation

Set Up in 3 Steps

From download to live calculator in under two minutes — no developer needed.

1

Download & Upload the Plugin

Download the studycalcshub-plugin.zip above. In your WordPress admin panel, go to Plugins → Add New → Upload Plugin. Choose the zip file and click Install Now.

2

Activate the Plugin

After installation, click Activate Plugin. The plugin adds no admin menu clutter — it simply registers the [studycalcs] shortcode globally. Activation is instant.

3

Add a Shortcode to Any Post or Page

Open any post or page. In the Gutenberg editor, add a Shortcode block (search for it in the block inserter). Paste your shortcode (use the builder below). Hit Publish — the calculator is live.


Shortcode Builder

Build Your Shortcode

Choose a calculator and configure options — your shortcode generates instantly.

Configure Calculator

[studycalcs type="gpa" theme="auto" lang="en" scale="4.0" width="100%" attribution="1"]

Live preview

GPA Calculator


Shortcode Reference

All Available Calculators

Every calculator available via shortcode. Mix and match — put multiple calculators on the same page.

[studycalcs type="gpa"]

GPA Calculator

Calculates cumulative and semester GPA across 4.0, 5.0, and 10.0 scales.

[studycalcs type="gpa" scale="4.0"]
[studycalcs type="cgpa-convert"]

CGPA to Percentage

Converts CGPA to percentage for India (VTU/CBSE), Pakistan (HEC), US, and UK systems.

[studycalcs type="cgpa-convert" system="india10"]
[studycalcs type="grade-final"]

Final Grade Needed

Shows exactly what score a student needs on their final exam to hit a target grade.

[studycalcs type="grade-final"]
[studycalcs type="attendance"]

Attendance Calculator

Calculates attendance %, checks if minimum is met, and shows classes still needed.

[studycalcs type="attendance" min="75"]
[studycalcs type="stddev"]

Standard Deviation

Computes mean, variance, and standard deviation for sample or population data.

[studycalcs type="stddev" dtype="sample"]
[studycalcs type="suite"]

Full Calculator Suite

Embeds the complete tabbed interface with all 30 calculators across 4 categories.

[studycalcs type="suite" theme="auto"]
All Shortcode Parameters
ParameterValuesDefaultDescription
typegpa | cgpa-convert | grade-final | attendance | stddev | pct-to-gpa | suitegpaWhich calculator to render
themeauto | light | darkautoColor theme — auto follows the browser/OS preference
langen | hi | arenInterface language (Arabic auto-enables RTL)
scale4.0 | 5.0 | 10.04.0GPA scale (GPA calculator only)
systemindia10 | india4 | pakistan | us | ukindia10CGPA conversion system
minNumber (1–100)75Minimum attendance % threshold
widthCSS value100%Widget container width
attribution0 | 11Show "Powered by" footer link (please keep enabled)

For Developers

Plugin PHP Snippet

If you prefer not to use the zip, paste this into your theme's functions.php or a custom plugin file.

<?php /** * Study Calcs Hub — WordPress Shortcode * Paste into functions.php or a mu-plugin. * Docs: https://studycalcshub.com/plugin */ function studycalcs_render( $atts ) { $a = shortcode_atts( [ 'type' => 'gpa', 'theme' => 'auto', 'lang' => 'en', 'scale' => '4.0', 'system' => 'india10', 'min' => '75', 'width' => '100%', 'attribution' => '1', ], $atts, 'studycalcs' ); $base = 'https://studycalcshub.com/embed/'; $params = http_build_query([ 'theme' => $a['theme'], 'lang' => $a['lang'], 'scale' => $a['scale'], 'system' => $a['system'], 'min' => $a['min'], 'attr' => $a['attribution'], ]); $src = esc_url( $base . $a['type'] . '?' . $params ); $width = esc_attr( $a['width'] ); return sprintf( '<iframe src="%s" width="%s" style="border:none;border-radius:12px;" loading="lazy" title="Study Calcs Hub — %s Calculator"></iframe>', $src, $width, esc_html( $a['type'] ) ); } add_shortcode( 'studycalcs', 'studycalcs_render' );

Plugin Features

What You Get

⚡

No jQuery

Pure vanilla JS — no performance bloat on your page load.

🌙

Dark Mode Ready

Auto-follows OS or site dark mode preference out of the box.

🔁

RTL Support

Arabic (lang="ar") automatically switches to right-to-left layout.

📱

Fully Responsive

Looks great on mobile, tablet, and desktop without any extra CSS.

🔒

Zero Data Sent

All calculations run in the browser. No student data touches your server.

📈

SEO Structured Data

Each embed includes Schema.org markup for better search visibility.

🎨

Themeable

Light, dark, or auto — matches your site design without conflict.

🔗

Free Backlink

Attribution footer gives your page a quality inbound link from studycalcshub.com.


FAQ

Common Questions

Does the plugin work with Elementor / Divi / Beaver Builder? ▼
Yes. Any WordPress page builder that supports shortcodes will work. In Elementor, add a Shortcode widget and paste your [studycalcs] code.
Will it slow down my site? ▼
No. The calculator loads inside a lightweight iframe with loading="lazy" — it doesn't block your page, execute on page load, or add any scripts to your global scope.
Can I use multiple calculators on the same page? ▼
Yes. Drop as many [studycalcs] shortcodes as you like on one page — each renders independently. Great for building a dedicated tools page.
Do I need to update the plugin? ▼
The plugin is just a shortcode wrapper — the calculator itself is served from studycalcshub.com. Updates to the calculators are live immediately with no plugin update required on your end.
Is the attribution link required? ▼
Not enforced, but sincerely requested. The "Powered by Study Calcs Hub" link is how we keep the tool free for everyone. Set attribution="0" to hide it — but please consider leaving it on.