Strawberry Fields purchased a tractor at a cost of $48,000 and sold it two years later for $23,000. Strawberry Fields recorded depreciation using the straight-line method, a five-year service life, and an $6,500 residual value. What was the gain or loss on the sale?