<prompt> Human: Hi Everyone,I am comparing a couple of jobs that have very different 401k plans. Math is not my strong suit, so I cannot figure out which is better.Company A will match 25 of my contribution up to 100. So There is no ceiling, I can put my whole paycheck in and they will match it 25.Company B will match 100 of my contribution, up to 6. So I can still invest 15 of my paycheck, and they will match 100 of the first 6 of that.My theory is that Company B is better until a certain of contribution, then you hit the diminishing returns point and Company A is better. Does anyone know what point that is?Thanks!  <response>: To get the same money out of company A as B, youll need to put in 4 times as much money. Company A, Put in 10,000 they contribute 2,500Company B, Put in 2,500 they put in 2,500. The magic number is the 24 with company A. After youve put in 6 company B is not going to put in anymore money. To get more money than that out of company A youll have to put in 24. Which is quite a lot I would suspect that for most people company B is the better deal. 