Skip to content
Calculator Collection

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 CalculatorP/E Ratio Calculator
CategoryInvestingInvesting
Inputs required22
ResultAverage Cost Basis ($)P/E Ratio
What it doesCalculates 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.