Will I Owe Taxes on the Sale of My House?

Q:  How do capital gains taxes work?  I want to sell my home, but have only been there for 18 months.  How much will I have to pay in capital gains tax?  Is two years the shortest time I can stay in my house without having to pay capital gains tax?...