sold Primary home

I sold my Primary Home in 2023.  It was purchase in 1991 for $129,000.  and sold for $460,000.  how do capital gain tax work?