Skip to content
Calculator Collection

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 CalculatorCost Basis Calculator
CategoryInvestingInvesting
Inputs required22
ResultP/E RatioAverage Cost Basis ($)
What it doesCompute 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.