Free margin calculator using the margin formula ((R - C) / R) × 100 to help businesses quickly calculate both margin and markup percentages based on cost and sale price.
- Download the ZIP file of this repository.
- Upload the /margin-calculator-master/ folder to the /wp-content/plugins/ directory.
- Activate the Margin Calculator plugin through the "Plugins" menu in WordPress.
- Add the shortcode
[ci_margin_calculator]
to your page, post or sidebar. - Or add the following code:
<?php display_ci_margin_calculator(); ?>
to your template where you would like the Margin Calculator to appear.