Ryanair and Iberia will get you between Madrid and Kastrup at great prices. With over 1000 travel companies on Omio, you can find the best flight times, prices and tickets for your trip.
Ryanair is one of the most popular budget airlines in Europe offering cheap flights all over the continent. Founded in Ireland, Ryanair makes it easy to hop on a plane and fly to popular European destinations quickly and affordably. This low-cost airline is known for operating direct flights to smaller or secondary airports usually outside major cities to keep costs down. All Ryanair fare types include allowance of one small personal bag; additional fees tend to apply for bringing carry-on luggage and checked luggage.
Flights from Madrid to Kastrup generally leave from Madrid Barajas Airport and arrive in Copenhagen Airport.
Madrid Barajas Airport is 15 km away from Madrid city centre and Copenhagen Airport is 5.4 km from Kastrup city centre.
Here are some other resources that might have the information you need