It's not easy to answer this question because there are so many variables. Is your buggy a compact one or the larger, more cumbersome type? Does it fold flat or is it still quite voluminous, even when it's folded?
Before you buy a car, you also need to bear in mind where, with whom, and with what you'll be travelling regularly. Are you on the road often, do you travel light, or will you need an even larger car that can swallow lots of luggage as well as the baby buggy? Is the car in question just for the daily créche run and then off to work, or is it an off-road vehicle you'll be using for weekends away, or camping trips that also require tents and sleeping bags? In that case, you need to think (and spend!) bigger.
Our best advice would be to take along your buggy or stroller when you visit dealerships, along with the baby seat and/or ISOFIX base you'll be installing in the car. It's risky to buy a car if you don't have your pram on hand to physically test whether it's going to fit or not. Alternatively, measure the pram and take your tape measure along to the dealership, and take the measurements of the boot.
Looking at cars online? Take a good look at the size and shape of the boot opening. If the lid of the boot is too high, or too low, you will also struggle, even though the boot is sufficiently sized. The height of the boot is also important because if your buggy still takes up plenty of vertical space, it doesn't matter how deep the cargo area is - you'll still struggle to close the lid. Also, does the rear bench have a split-folding function? That means you can flatten one of the seats to make room for a baby buggy and still have your little one safely strapped in on the other rear seat.
The rule of thumb is to look for a car with a boot that offers around 300 litres of space or more (but preferably not less than 280 litres). Once again I want to reiterate that you try before you buy - you should fold up the buggy and try to store it in the boot before making any serious commitments. Prams and pushchairs have become ridiculously expensive, and remember to also install the baby seat for future reference. Sometimes it's downright impossible to install a car seat in some cars. Ideally, you want a car that's not too low to the ground, but not too high either.
As for the types of cars that fit buggies, sometimes a small car like the Volkswagen Up! will surprise you because it may accommodate a compact stroller, while other larger cars might struggle! Sometimes, you can turn a stroller on its side and it will fit perfectly into a baby SUV like the Suzuki IGNIS (which only has a 260-litre boot), but yet again, it would depend on the size and shape of the stroller.
Recommended next
How to choose the right family car
Best cars for a family with a new baby