Cost Basis Calculator (FIFO/LIFO)
Calculate stock cost basis using FIFO, LIFO, specific ID, or average cost. Compare tax impact of each method.
Sale Proceeds
$6,000.00
Cost Basis (FIFO)
$4,008.00
Gain/Loss
$1,992.00
Method Comparison
| FIFO | Gain: $1,992.00 |
| LIFO | Gain: $1,388.00 |
| Specific ID (Highest Cost) | Gain: $1,388.00 |
| Average Cost | Gain: $1,690.00 |
Tax Impact (Estimated)
| FIFO | STCG: $0.00 | LTCG: $1,992.00 |
| LIFO | STCG: $0.00 | LTCG: $1,388.00 |
| AVERAGE | STCG: $1,690.00 | LTCG: $0.00 |
| SPECIFIC | STCG: $0.00 | LTCG: $1,388.00 |
Recommendation
| Best Method for Tax Savings | LIFO |
| Note | Specific ID requires broker notification before sale |
Use the Cost Basis Calculator (FIFO/LIFO) above to calculate your results. Enter your values and see instant results — all calculations run in your browser.
Disclaimer: This calculator is for informational purposes only and does not constitute tax, financial, or legal advice. Results are estimates based on the information you provide and current rates. Always consult a qualified tax professional or financial advisor for advice specific to your situation.
You might also need
Compound Interest Calculator — See Your Money Grow Over Time
Calculate compound interest with regular contributions and see how your money grows with daily, monthly, or annual compounding. Free, instant results and charts.
Inflation Calculator
Calculate the impact of inflation on purchasing power over time. See how much past dollars are worth today.
Net Worth Calculator
Calculate your net worth by adding up assets (savings, investments, property) and subtracting liabilities (loans, credit cards).