When we calculate cost basis for your Vanguard investments, we'll automatically use "average cost" for mutual funds and "first in, first out" for individual stocks. But you can change those settings—or use "specific identification" if you're more of a hands-on investor.
Here are some details to help you understand the pros and cons of each method.