$12 for 2.5 gallons at Wal Mart. I have bought maybe 15 boxes (probably less)., so $180 or so. My DEF MPG is right at 1% of fuel used.
(50,000 miles/15 MPG)*0.01=33.33 gallons of DEF, or a bit more than 13 boxes.
It does have a shelf life. Hope you're using it fast enough.