Spot markets have emerged for a broad range of commodities, and companies have started to use them in addition to their traditional, long-term procurement contracts (forward contracts). In comparison to forward contracts, spot markets offer products at essentially negligible lead time, but typically command a higher expected price for this added flexibility while also exhibiting substantial price uncertainty. In our research, we analyze the resulting procurement challenge and quantify the benefits of using spot markets from a supply chain perspective. We develop and solve mathematical models that determine the optimal order quantity to purchase via forward contracts and the optimal quantity to purchase via spot markets. We analyze the most general situation where commodities can be both bought and sold via a spot market and derive closed-form results for this case. We compare the obtained results to the reference scenario of pure contract sourcing and we include results for situations where the use of spot markets is restricted to either buying or selling only. Our approaches can be used by decision makers to determine optimal procurement strategies based on key parameters such as, demand and spot price volatilities, correlation between demand and spot prices, and risk aversion. The results of our analysis demonstrate that significant profit improvements can be achieved if a moderate fraction of the commodity demand is procured via spot markets. The results also show that companies who use spot markets can offer a higher expected service level, but that they might experience a higher variability in profits than companies who do not use spot markets. We illustrate our analytical results with numerical examples throughout the paper.