Compare calculators
Both calculators run independently β change the inputs on either side to compare results.
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.
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.
Key differences
| Cost Basis Calculator | P/E Ratio Calculator | |
|---|---|---|
| Category | Investing | Investing |
| Inputs required | 2 | 2 |
| Result | Average Cost Basis ($) | P/E Ratio |
| What it does | 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. | 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. |