There are multiple factors to consider, including your tax rate.
How do you choose between corporate and municipal bonds? Both have characteristics that can be useful in your portfolio, depending on your goals and circumstances, but they’re not right for every situation.