You have earned it, but the school gets to pay itself first. The R2T4 calculation is complicated. Do you still owe money for the program? They may have been able to keep money for the tuition you owe. I honestly couldn't tell you why you aren't getting a refund, but I can tell you that the school may very well be correct in its calculations. You can request an explanation of how the calculation was applied in your case, and see what happened. I imagine the school did it correctly, as this is something schools usually have a spreadsheet on which dates and amounts are entered & the calc is done automatically.