Fixing or rebuilding a block foundation wall
If you already have a block wall under your house that's cracked or leaning, the first question is why. A small crack in a wall that's still straight can often be handled as foundation repair. A wall that's bowing, or one sitting on a footing that has moved, usually needs to come out and go back in on a proper footing, because patching the block doesn't fix what's under it. I'll tell you which one I think you have and why.
What shapes the cost of a foundation block wall
Size comes first, since a longer or taller wall takes more block, steel and grout. After that it's the ground, because soft soil means more digging and fill before the footing can go in. Solid grouting costs more than grouting only the steel cells. Tight access, drainage behind the wall and the permit work, like a soils report and calculations when the city asks for them, all add to it. A simple wall on easy ground costs the least.