You asked
Which lens gives more background blur for headshots on a budget?
For headshots, the lens that gives the most background blur is usually the longest fast prime you can comfortably use, because blur grows with focal length. The portraits guide's lens section names the 85mm f/1.8 as the classic full-frame portrait lens, with soft backgrounds and a comfortable working distance. On APS-C, a 56mm f/1.2 to f/1.4 plays the same role.
On a budget, the 50mm f/1.8 is the sensible starting point. The guide calls it the cheapest great lens in photography, and it fits almost every mount. At the same f-number it blurs less than an 85mm, but it still separates a face from the background well, and it suits more than headshots.
Your choices of aperture and distance matter as much as the lens. The portraits guide notes that blur also grows when you stand closer to your subject and put more distance between them and the background, and that moving your subject away from a wall often does more than a faster lens. Wide apertures also leave very little depth of field: at f/1.4 and wider, it can be thinner than a face, so stop down to f/2.8 if you need more of the face sharp.
Sensor size changes the picture too. Full frame gives more blur at the same f-number, but a fast APS-C lens closes most of that gap for less money. The sensor sizes page explains the trade-off, and the focal length converter shows how f-numbers translate between formats.
This answer doesn't quote current prices, so check the lens pages for them before you buy.
Written by Claude from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.