Taylor Swift is so good at breaking up ... she's actually learned how to turn a profit on it -- earning nearly $1 million after dumping the house she purchased to be closer to her ex-boyfriend Conor Kennedy.

As we reported, Swift purchased a $4.8 million mansion in Hyannis Port, MA next to the Kennedy compound last year while she was dating Conor. But -- shocker -- Taylor and Conor broke up soon after.

Now we've learned Swift has flipped the home for a huge profit -- selling the place a couple weeks ago for $5,675,000 ... that's a profit of $875,000 in just a few months.

Click here for pics of the house


Read more: http://www.tmz.com/2013/03/06/taylor-swift-break-up-1-million-hyannis-port-house-flip-sold/#ixzz2MqZPKW1c
Visit the TMZ Store: http://tmzstore.com