The repair versus replacement decision is mostly about the tank body. A sound tank with a broken baffle, a cracked lid or a failed gasket is a repair, and the cost is a few hundred dollars plus the pump-out. A tank that is cracked, rusted through or taking in groundwater is a replacement, and the cost is a project.
The middle case is the one that needs a number. A 500 gallon tank that is sound but undersized for a growing kitchen is a replacement in slow motion: it will pump more often, hit 25 percent earlier and eventually fail an inspection on the 25 percent rule. Adding up 6 visits a year instead of 4, plus the risk of an emergency, can show the replacement paying back within a few years.
Two questions decide either path: is the tank structurally sound, and is the size still right for the fixture count? The first is a visual and, if needed, a camera check. The second is a plumbing calculation based on the fixture count.