# Determine the percentage needed to subtract to get the base value

Given the value $N$ and the percentage $p$, where $N = G + G \times (p/100)$, $d$ is the percentage you need to subtract of $N$ to get the base value $G$.

• Is there a general formula for determining $d$?
• Is there a formula independent of $G$ and $N$, where $d$ can be calculated only from $p$?
-

This sounds like a homework question. Write an equation that describes how $d$ relates to $N$ and $G$… – Seamus Feb 22 '12 at 13:32

## 2 Answers

$$N=G(1+\frac{p}{100})$$ $$N(1-\frac{d}{100})=G$$ Putting $G$ of the second equation in the first equation you have: $$(1+\frac{p}{100})(1+\frac{d}{100})=1$$ So:$$d=\frac{100p}{100+p}$$

-

So if I understood you correctly, for any numbers $N$, $G$ and $p$ for which $N=G+G\frac{p}{100}$ you want to compute $d$ such that $G=N-N\frac{d}{100}$. This should be achievable quite easily by substituting the formula for $G$ into that of $N$ (or vice versa) and eliminating terms:

$$N = N - N\frac{d}{100} + N\frac{p}{100} - N\frac{dp}{10000}$$ $$1 = 1 - \frac{d}{100} + \frac{p}{100} - \frac{dp}{10000}$$ $$d + \frac{dp}{100} = p$$ $$d = \frac{p}{1+\frac{p}{100}}$$

-
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 23, "mathjax_display_tex": 8, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.8965088129043579, "perplexity_flag": "head"}