Compare calculators
Both calculators run independently β change the inputs on either side to compare results.
Investing
P/E Ratio Calculator
Compute a stock's P/E ratio by dividing its current share price by earnings per share. Use it to quickly gauge whether a stock looks overvalued or undervalued relative to its peers.
Fill in the required fields to see your result.
Investing
Cost Basis Calculator
Calculates your average cost per share across multiple stock purchases by dividing total dollars invested by total shares owned. Use it to determine your tax cost basis when selling shares bought at different prices.
Fill in the required fields to see your result.
Key differences
| P/E Ratio Calculator | Cost Basis Calculator | |
|---|---|---|
| Category | Investing | Investing |
| Inputs required | 2 | 2 |
| Result | P/E Ratio | Average Cost Basis ($) |
| What it does | Compute a stock's P/E ratio by dividing its current share price by earnings per share. Use it to quickly gauge whether a stock looks overvalued or undervalued relative to its peers. | Calculates your average cost per share across multiple stock purchases by dividing total dollars invested by total shares owned. Use it to determine your tax cost basis when selling shares bought at different prices. |