How to Calculate Percentage in PHP


Individual free text header for printout, PDF and permanent link to the current calculation:

Note: The free text field can only be edited if you are logged into the user account.

Create permanent link - data protection notice and functionality

When you use the permanent link function, your input data entered on this subpage will be saved on our server and made permanently accessible via a special link (the permanent link in the form of a URL internet address). Show more info.

You will be notified of the permanent link in the web browser immediately after it has been created and you should note it down or save it in some other way, e.g. as a browser bookmark. If you have a user account and are logged in, the permanent link is automatically assigned to your user account.

The user accountsPremium private and Premium business contain a permanent link management, which you can use to easily call up, change and (even without a delete password) delete saved calculations.

To protect the stored data, the link contains a random cryptic component that is not known to third parties. We will not publish the link; However, you are free to pass on the permanent link to third parties yourself or to publish it.

To later create a permanent link even without a user account Premium To be able to delete it again, you have the option of assigning an optional deletion password that only you know. Without a user account Premium and without specifying a deletion password, permanent links cannot be deleted in order to protect permanent links created by other users from deletion.

Optional delete password:

User with a user accountPremium private or Premium business You can also change your own saved calculations by overwriting the existing permanent link.

The percentage is the relative figure in percent that indicates the proportion of the percentage value in the base value.

The conversion of the basic formula of the percentage calculation results in the resolution according to the percentage:

p = P / G * 100

In words, the percentage formula resolved according to the percentage is:

Percentage = percentage value / base value * 100


Suppose an international bank has 50,000 customers, 15,000 of whom are based in Germany. This means that the share of these customers is 30%. So the percentage is 15,000 / 50,000 * 100 = 30.

Sometimes the term percentage foot is also used alongside percentage. This term was mainly used earlier and means the same as percentage.

Read on: Percentage