The Percentage Calculator Chrome Extension is a simple, user-friendly tool designed to perform various percentage calculations right from your Chrome browser. With options for calculating percent of a value, percent increase, and percent decrease, this extension is perfect for quick math operations without leaving your browser window.
- Calculate what a percentage of a value is.
- Determine the percent increase from one value to another.
- Find out the percent decrease from one value to another.
- Copy the result to clipboard with a single click.
This calculator provides a variety of operations to perform percentage-based calculations:
-
What is X% of Y?
- Calculation:
(X / 100) * Y
- Explanation: Calculates how much X% represents of Y by converting X percent to a decimal and multiplying by Y.
- Calculation:
-
X is what percent of Y?
- Calculation:
(X / Y) * 100
- Explanation: Determines what percentage X is of Y by dividing X by Y and converting the result to a percentage.
- Calculation:
-
What is the percentage increase/decrease from X to Y?
- Calculation:
((Y - X) / X) * 100
- Explanation: Calculates the percentage change (either increase or decrease) from X to Y by finding the ratio of the change relative to X and converting that ratio to a percentage.
- Calculation:
-
Original value before a X% increase/decrease from Y
- Calculation: For increases:
Y / (1 + (X / 100))
, For decreases:Y / (1 - (X / 100))
- Explanation: Finds the original value before an X% change resulted in Y. The calculation adjusts Y based on whether the change was an increase or a decrease.
- Calculation: For increases:
-
Percentage difference between X and Y
- Calculation:
((|X - Y|) / ((X + Y) / 2)) * 100
- Explanation: Determines the percentage difference between X and Y by calculating the absolute difference, dividing by their average, and converting the result to a percentage.
- Calculation:
-
Value after Y% increase/decrease applied Z times to X
- Calculation: For increases:
X * (1 + Y / 100)^Z
, For decreases:X * (1 - Y / 100)^Z
- Explanation: Calculates the value after applying a Y% change (increase or decrease) Z times to X, using compound interest formula principles.
- Calculation: For increases:
-
Calculate whole value when X represents Y% of it
- Calculation:
X / (Y / 100)
- Explanation: Finds the total value when X represents Y% of it by reversing the percentage calculation to derive the whole from a part.
- Calculation:
Use these operations to quickly solve common percentage-related questions directly within the browser.
- Visit the Chrome Web Store link to our extension.
- Click on "Add to Chrome" to install the extension.
- Once installed, you'll see the extension's icon in your Chrome toolbar for easy access.
- Download or clone this repository to your local machine.
- Open Chrome and navigate to
chrome://extensions/
. - Enable "Developer mode" at the top right corner.
- Click on "Load unpacked" and select the directory where you cloned or downloaded this repository.
- The extension should now appear in your extensions list and be accessible from the Chrome toolbar.
Click on the extension icon in your Chrome toolbar to open the percentage calculator popup. Enter the values and select the type of calculation you want to perform. Click "Calculate" to see the result, and use the "Copy" button to copy the result to your clipboard.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.