Charged myself rent for two years and it still cleared, by less than I'd claimed
Finished and closed a 24-month live-in flip in a mid-size midwest metro, and then I did the accounting I'd been avoiding.
Headline version: bought 195k, spent 61k over two years (about 18k of that was my own weekends valued at zero), sold 448k, selling costs 27k. Gain about 165k, all of it inside the exclusion for a married couple, so nothing taxable there. My CPA signed off on the residency test and I'd tell anyone to get that confirmed rather than assume it.
Here's what I don't see people subtract. Before this house I rented for 1,450 a month. My mortgage, taxes and insurance on the flip ran 2,180. So I was paying 730 a month more than my alternative housing, which is 17,520 over the hold. My down payment and closing costs were 46k of my own money sitting still for two years. And the 18k of my own labor wasn't free, it was Saturdays. Charge those honestly and the 165k becomes something closer to 120k of real economic gain, plus whatever you think 200 weekends were worth.
120k tax-free over two years on 46k in is still a result I'd take again. The number that nearly broke it was the roof, quoted at 9k in year one and 16k when I actually did it in year two. If I'd waited another six months it would've eaten the entire margin over my rent alternative.
What I'd keep: a monthly line in the spreadsheet for housing cost versus my rent alternative, so I always knew the true carry rather than pretending it was zero because I'd be living somewhere anyway.