My exhusband and I wrote out a separation agreement, and I worked out what he had contributed to the mortgage (as for a lot of the time we lived in the house, I supported him) plus half of the increase in value.
E.G:- We bought our house in for £77,000. In the two years we lived in it together, it had increased in value to £80,000, therefore he was entitled to half of £3,000, so £1,500.
We have also paid off £3,000 of the actual mortgage (we decided not to even think about the interest rate on the mortgage, but concentrate solely on what had been paid off on the house). Of this £3,000, he has only contributed £500, as he was out of work for much of the time and I was his financial support and paid EVERYTHING from my wage. So we agreed that his share in the property totalled £2,000, and when I eventually sell the property, whenever that may be, I will give him £2,000 of the proceeds. The rest of any profit will be mine, as I have now taken over paying for the house by myself again.
I don't know how this would work in the states, but I got some legal advice when we wrote up the agreement, and everyone was quite happy with this.