IDEAS home Printed from https://ideas.repec.org/a/eee/trapol/v175y2026ics0967070x25004111.html

Optimizing fleet size for on-demand taxi and ridehailing services: application to the case of Madrid

Author

Listed:
  • Mallidis, Ioannis
  • Aguilera-García, Álvaro
  • Salanova Grau, Josep Maria
  • Siomos, Alexandros
  • Vassallo, José Manuel

Abstract

Digitization and new business models are transforming urban mobility, particularly within the on-demand passenger transport sector, which includes taxi and ridehailing services. While these innovations benefit consumers, planners still face the challenge of determining the appropriate number, spatial distribution, and temporal deployment of vehicles to ensure service quality while mitigating negative externalities. Thhis study develops and employs a methodology for determining the optimal fleet size for taxi and ridehailing services, considering factors such as maximum passenger waiting times, vehicle depreciation costs, passengers' value of time, drivers' fees, and dynamic demand fluctuations. It also introduces a generalized, optimization-based framework for service-level-constrained fleet sizing and repositioning, incorporating an Erlang-C waiting-time term and inter-hour vehicle-flow continuity. This approach was applied to the case of Madrid (Spain) using two datasets from 2023: (i) zone-to-zone flows to capture inter-zonal dynamics; and (ii) trip request data to characterize temporal demand patterns. The analysis shows that 46 % of the taxi and ridehailing demand remains unmet in Madrid, ranging from 30 % on Mondays, Tuesdays, and Wednesdays, to 45 % on Thursdays and Fridays, and up to 60 % on Saturdays and Sundays. Increasing the number of vehicles per hour by 25–30 % would cover 87–89 % of the demand, while a 50–75 % increase would ensure near-complete coverage, thereby reducing almost all unmet demand, particularly during peak hours. These adjustments would enhance user satisfaction while ensuring operators’ profits. A detailed case study of ten origin–destination routes from metropolitan neighborhoods to Central Madrid during the late-night peak (23:00–01:00) on a typical Saturday reveals a pronounced midnight (00:00) peak in vehicles required per hour across all routes. The ≤10-min expected-wait target can be met with modest, largely symmetric repositioning (≈1–2 vehicles per route and per hour) to smooth short-term imbalances. Cost decomposition shows that operating and wage/depreciation costs dominate, while passenger waiting costs remain low. Sensitivity analysis further highlights that tightening service targets increases peak staffed vehicles per hour and total costs, whereas relaxing targets off-peak lowers costs with limited impact on reliability. Improvements in service rate and delivery speed provide comparable or better service at a lower cost than expanding vehicle fleets. Finally, scaling late-night demand by −20 %, +20 %, and +40 % confirms near-proportional hourly capacity needs for modest changes and steep nonlinear cost growth under larger increases, supporting temporary, time-bound vehicle-per-hour authorizations and preplanned outbound staging during predictable peaks.

Suggested Citation

  • Mallidis, Ioannis & Aguilera-García, Álvaro & Salanova Grau, Josep Maria & Siomos, Alexandros & Vassallo, José Manuel, 2026. "Optimizing fleet size for on-demand taxi and ridehailing services: application to the case of Madrid," Transport Policy, Elsevier, vol. 175(C).
  • Handle: RePEc:eee:trapol:v:175:y:2026:i:c:s0967070x25004111
    DOI: 10.1016/j.tranpol.2025.103868
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0967070X25004111
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.tranpol.2025.103868?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    References listed on IDEAS

    as
    1. Xu, Zhengtian & Yin, Yafeng & Zha, Liteng, 2017. "Optimal parking provision for ride-sourcing services," Transportation Research Part B: Methodological, Elsevier, vol. 105(C), pages 559-578.
    2. Ralph Buehler & John Pucher & Regine Gerike & Thomas Götschi, 2017. "Reducing car dependence in the heart of Europe: lessons from Germany, Austria, and Switzerland," Transport Reviews, Taylor & Francis Journals, vol. 37(1), pages 4-28, January.
    3. Salanova Grau, Josep Maria & Estrada, Miquel, 2019. "Social optimal shifts and fares for the Barcelona taxi sector," Transport Policy, Elsevier, vol. 76(C), pages 111-122.
    4. Wong, K. I. & Wong, S. C. & Yang, Hai, 2001. "Modeling urban taxi services in congested road networks with elastic demand," Transportation Research Part B: Methodological, Elsevier, vol. 35(9), pages 819-842, November.
    5. M.J. Mohamed & T. Rye & A. Fonzone, 2020. "The utilisation and user characteristics of Uber services in London," Transportation Planning and Technology, Taylor & Francis Journals, vol. 43(4), pages 424-441, May.
    6. Clewlow, Regina R. & Mishra, Gouri S., 2017. "Disruptive Transportation: The Adoption, Utilization, and Impacts of Ride-Hailing in the United States," Institute of Transportation Studies, Working Paper Series qt82w2z91j, Institute of Transportation Studies, UC Davis.
    7. John R. Schroeter, 1983. "A Model of Taxi Service under Fare Structure and Fleet Size Regulation," Bell Journal of Economics, The RAND Corporation, vol. 14(1), pages 81-96, Spring.
    8. Rayle, Lisa & Dai, Danielle & Chan, Nelson & Cervero, Robert & Shaheen, Susan, 2016. "Just a better taxi? A survey-based comparison of taxis, transit, and ridesourcing services in San Francisco," Transport Policy, Elsevier, vol. 45(C), pages 168-178.
    9. Maria Vega-Gonzalo & Álvaro Aguilera-García & Juan Gomez & José Manuel Vassallo, 2024. "Traditional taxi, e-hailing or ride-hailing? A GSEM approach to exploring service adoption patterns," Transportation, Springer, vol. 51(4), pages 1239-1278, August.
    10. Tirachini, Alejandro & del Río, Mariana, 2019. "Ride-hailing in Santiago de Chile: Users’ characterisation and effects on travel behaviour," Transport Policy, Elsevier, vol. 82(C), pages 46-57.
    11. Zhong, Yuanguang & Yang, Tong & Cao, Bin & Cheng, T.C.E., 2022. "On-demand ride-hailing platforms in competition with the taxi industry: Pricing strategies and government supervision," International Journal of Production Economics, Elsevier, vol. 243(C).
    12. Rayle, Lisa & Dai, Danielle & Chan, Nelson & Cervero, Robert & Shaheen, Susan PhD, 2016. "Just A Better Taxi? A Survey-Based Comparison of Taxis, Transit, and Ridesourcing Services in San Francisco," Institute of Transportation Studies, Research Reports, Working Papers, Proceedings qt60v8r346, Institute of Transportation Studies, UC Berkeley.
    13. Judd Cramer & Alan B. Krueger, 2016. "Disruptive Change in the Taxi Business: The Case of Uber," American Economic Review, American Economic Association, vol. 106(5), pages 177-182, May.
    14. Shaheen, Susan & Cohen, Adam & Zohdy, Ismail & Kock, Beaudry, 2016. "Smartphone Applications to Influence Travel Choices: Practices and Policies," Institute of Transportation Studies, Research Reports, Working Papers, Proceedings qt8dq801g7, Institute of Transportation Studies, UC Berkeley.
    15. Daniel Oviedo & Isabel Granada & Daniel Perez-Jaramillo, 2020. "Ridesourcing and Travel Demand: Potential Effects of Transportation Network Companies in Bogotá," Sustainability, MDPI, vol. 12(5), pages 1-16, February.
    16. Yang, Hai & Yang, Teng, 2011. "Equilibrium properties of taxi markets with search frictions," Transportation Research Part B: Methodological, Elsevier, vol. 45(4), pages 696-713, May.
    17. Vignon, Daniel & Yin, Yafeng & Ke, Jintao, 2023. "Regulating the ride-hailing market in the age of uberization," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 169(C).
    18. Aguilera-García, Álvaro & Gomez, Juan & Velázquez, Guillermo & Vassallo, Jose Manuel, 2022. "Ridesourcing vs. traditional taxi services: Understanding users’ choices and preferences in Spain," Transportation Research Part A: Policy and Practice, Elsevier, vol. 155(C), pages 161-178.
    19. Zhou, Yaqian & Yang, Hai & Ke, Jintao & Wang, Hai & Li, Xinwei, 2022. "Competition and third-party platform-integration in ride-sourcing markets," Transportation Research Part B: Methodological, Elsevier, vol. 159(C), pages 76-103.
    20. Sergey Naumov & David Keith, 2023. "Optimizing the economic and environmental benefits of ride‐hailing and pooling," Production and Operations Management, Production and Operations Management Society, vol. 32(3), pages 904-929, March.
    21. Noah Gans & Ger Koole & Avishai Mandelbaum, 2003. "Telephone Call Centers: Tutorial, Review, and Research Prospects," Manufacturing & Service Operations Management, INFORMS, vol. 5(2), pages 79-141, September.
    22. Oh, Simon & Seshadri, Ravi & Azevedo, Carlos Lima & Kumar, Nishant & Basak, Kakali & Ben-Akiva, Moshe, 2020. "Assessing the impacts of automated mobility-on-demand through agent-based simulation: A study of Singapore," Transportation Research Part A: Policy and Practice, Elsevier, vol. 138(C), pages 367-388.
    23. Fernando Moliní & Miguel Salgado, 2012. "Sprawl in Spain and Madrid: A Low Starting Point Growing Fast," European Planning Studies, Taylor & Francis Journals, vol. 20(6), pages 1075-1092, June.
    24. Yang, Hai & Qin, Xiaoran & Ke, Jintao & Ye, Jieping, 2020. "Optimizing matching time interval and matching radius in on-demand ride-sourcing markets," Transportation Research Part B: Methodological, Elsevier, vol. 131(C), pages 84-105.
    25. Li, Shengxiao(Alex) & Zhai, Wei & Jiao, Junfeng & Wang, Chao (Kenneth), 2022. "Who loses and who wins in the ride-hailing era? A case study of Austin, Texas," Transport Policy, Elsevier, vol. 120(C), pages 130-138.
    26. Chiwei Yan & Helin Zhu & Nikita Korolko & Dawn Woodard, 2020. "Dynamic pricing and matching in ride‐hailing platforms," Naval Research Logistics (NRL), John Wiley & Sons, vol. 67(8), pages 705-724, December.
    27. Bilgin, Pinar & Mattioli, Giulio & Morgan, Malcolm & Wadud, Zia, 2023. "The impacts of ridesourcing services on the taxi market: Empirical evidence from England and Wales," Transportation Research Part A: Policy and Practice, Elsevier, vol. 178(C).
    28. Contreras, Seth D. & Paz, Alexander, 2018. "The effects of ride-hailing companies on the taxicab industry in Las Vegas, Nevada," Transportation Research Part A: Policy and Practice, Elsevier, vol. 115(C), pages 63-70.
    29. Zhang, Kenan & Alonso-Mora, Javier & Fielbaum, Andres, 2025. "What do walking and e-hailing bring to scale economies in on-demand mobility?," Transportation Research Part B: Methodological, Elsevier, vol. 192(C).
    30. Alejandro Henao & Wesley E. Marshall, 2019. "The impact of ride-hailing on vehicle miles traveled," Transportation, Springer, vol. 46(6), pages 2173-2194, December.
    31. Li, Xinwei & Ke, Jintao & Yang, Hai & Wang, Hai & Zhou, Yaqian, 2024. "An aggregate matching and pick-up model for mobility-on-demand services," Transportation Research Part B: Methodological, Elsevier, vol. 190(C).
    32. Andrés Fielbaum & Alejandro Tirachini, 2021. "The sharing economy and the job market: the case of ride-hailing drivers in Chile," Transportation, Springer, vol. 48(5), pages 2235-2261, October.
    33. Rex Deighton-Smith, 2018. "The Economics of Regulating Ride-Hailing and Dockless Bike Share," International Transport Forum Discussion Papers 2018/24, OECD Publishing.
    34. M. M. Vazifeh & P. Santi & G. Resta & S. H. Strogatz & C. Ratti, 2018. "Addressing the minimum fleet problem in on-demand urban mobility," Nature, Nature, vol. 557(7706), pages 534-538, May.
    35. Anne Brown & Whitney LaValle, 2021. "Hailing a change: comparing taxi and ridehail service quality in Los Angeles," Transportation, Springer, vol. 48(2), pages 1007-1031, April.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Zhang, Kenan & Alonso-Mora, Javier & Fielbaum, Andres, 2025. "What do walking and e-hailing bring to scale economies in on-demand mobility?," Transportation Research Part B: Methodological, Elsevier, vol. 192(C).
    2. Aguilera-García, Álvaro & Gomez, Juan & Velázquez, Guillermo & Vassallo, Jose Manuel, 2022. "Ridesourcing vs. traditional taxi services: Understanding users’ choices and preferences in Spain," Transportation Research Part A: Policy and Practice, Elsevier, vol. 155(C), pages 161-178.
    3. Xiong, Ziyue & Jian Li, & Wu, Hangbin, 2021. "Understanding operation patterns of urban online ride-hailing services: A case study of Xiamen," Transport Policy, Elsevier, vol. 101(C), pages 100-118.
    4. Nair, Gopindra S. & Bhat, Chandra R. & Batur, Irfan & Pendyala, Ram M. & Lam, William H.K., 2020. "A model of deadheading trips and pick-up locations for ride-hailing service vehicles," Transportation Research Part A: Policy and Practice, Elsevier, vol. 135(C), pages 289-308.
    5. Zhang, Kenan & Nie, Yu (Marco), 2022. "Mitigating traffic congestion induced by transportation network companies: A policy analysis," Transportation Research Part A: Policy and Practice, Elsevier, vol. 159(C), pages 96-118.
    6. Zou, Zhenpeng & Cirillo, Cinzia, 2021. "Does ridesourcing impact driving decisions: A survey weighted regression analysis," Transportation Research Part A: Policy and Practice, Elsevier, vol. 146(C), pages 1-12.
    7. Xu, Zhengtian & Yin, Yafeng & Zha, Liteng, 2017. "Optimal parking provision for ride-sourcing services," Transportation Research Part B: Methodological, Elsevier, vol. 105(C), pages 559-578.
    8. Vignon, Daniel & Yin, Yafeng & Ke, Jintao, 2023. "Regulating the ride-hailing market in the age of uberization," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 169(C).
    9. Huang, Xingjun & Bu, Yilan & Liu, Junbei & Meng, Meng & Zhang, Jie & Zhuge, Chengxiang, 2025. "A spatial agent-based approach to simulating the ride-hailing system and its environmental impacts," Transport Policy, Elsevier, vol. 174(C).
    10. Zhang, Yufeng & Khani, Alireza, 2021. "Integrating transit systems with ride-sourcing services: A study on the system users’ stochastic equilibrium problem," Transportation Research Part A: Policy and Practice, Elsevier, vol. 150(C), pages 95-123.
    11. Li, Manzi & Jiang, Gege & Lo, Hong K., 2022. "Pricing strategy of ride-sourcing services under travel time variability," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 159(C).
    12. Nguyen-Phuoc, Duy Q. & Zhou, Meng & Hong Chua, Ming & Romano Alho, André & Oh, Simon & Seshadri, Ravi & Le, Diem-Trinh, 2023. "Examining the effects of Automated Mobility-on-Demand services on public transport systems using an agent-based simulation approach," Transportation Research Part A: Policy and Practice, Elsevier, vol. 169(C).
    13. Wang, Hai & Yang, Hai, 2019. "Ridesourcing systems: A framework and review," Transportation Research Part B: Methodological, Elsevier, vol. 129(C), pages 122-155.
    14. de Oliveira Souza, Camilla & Vitorino Guimarães, Gabriella & da Cruz Saldanha, Luiz Emerson & Almeida Corrêa do Nascimento, Filipe & Floriano dos Santos, Tálita & Vieira da Silva, Marcelino Aurélio, 2021. "Analysis of job accessibility promoted by ride hailing services: A proposed method," Journal of Transport Geography, Elsevier, vol. 93(C).
    15. Young, Mischa & Farber, Steven, 2019. "The who, why, and when of Uber and other ride-hailing trips: An examination of a large sample household travel survey," Transportation Research Part A: Policy and Practice, Elsevier, vol. 119(C), pages 383-392.
    16. Ong, Felita & Loa, Patrick & Nurul Habib, Khandker, 2024. "Ride-sourcing demand in Metro Vancouver: Looking through the lens of disability," Transportation Research Part A: Policy and Practice, Elsevier, vol. 181(C).
    17. Zgheib, Najib & Abou-Zeid, Maya & Kaysi, Isam, 2020. "Modeling demand for ridesourcing as feeder for high capacity mass transit systems with an application to the planned Beirut BRT," Transportation Research Part A: Policy and Practice, Elsevier, vol. 138(C), pages 70-91.
    18. Mo, Dong & Wang, Hai & Cai, Zeen & Szeto, W.Y. & Chen, Xiqun (Michael), 2024. "Modeling and regulating a ride-sourcing market integrated with vehicle rental services," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 192(C).
    19. Zheng, Zhicheng & Li, Yang & Rong, Peijun & Zhang, Lijun & Qin, Yaochen & Liu, Gangjun, 2025. "Spatio-temporal dynamic characteristics of the substitution effect of ride-hailing travel and its multi-activity network: a case study of Chengdu," Journal of Transport Geography, Elsevier, vol. 127(C).
    20. Nguyen-Phuoc, Duy Quy & Vo, Nguyen S. & Su, Diep Ngoc & Nguyen, Vinh Hoang & Oviedo-Trespalacios, Oscar, 2021. "What makes passengers continue using and talking positively about ride-hailing services? The role of the booking app and post-booking service quality," Transportation Research Part A: Policy and Practice, Elsevier, vol. 150(C), pages 367-384.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:trapol:v:175:y:2026:i:c:s0967070x25004111. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/wps/find/journaldescription.cws_home/30473/description#description .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.