Bernadette Cornelison, Christopher Edwards, Crystal Zhang, Janae Dean, Julia Halloran, Aaron Middleton, Brian Erstad
{"title":"Evaluating the Accuracy of Large Language Models in Pharmaceutical Calculations: A Comparison of ChatGPT and MathGPT","authors":"Bernadette Cornelison, Christopher Edwards, Crystal Zhang, Janae Dean, Julia Halloran, Aaron Middleton, Brian Erstad","doi":"10.1016/j.ajpe.2025.101910","DOIUrl":null,"url":null,"abstract":"<div><h3>Objective</h3><div>Generative Artificial Intelligence is increasingly integrated into education, with large language models such as ChatGPT and MathGPT providing students with quick access to answers for pharmaceutical calculation problems. However, concerns persist regarding their accuracy for critical skills like pharmaceutical calculations. This study evaluates the accuracy of ChatGPT 3.5 and MathGPT Unlimited in solving pharmacy calculation problems relevant to student pharmacist curricula.</div></div><div><h3>Methods</h3><div>Fifty pharmaceutical calculation questions covering 9 North American Pharmacist Licensure Examination-aligned topic categories were selected from the University of Arizona R. Ken Coit College of Pharmacy curriculum. Responses generated by ChatGPT 3.5 (free version) and MathGPT Unlimited (data collection concluded July 2024) were compared against an instructor-validated answer key.</div></div><div><h3>Results</h3><div>Both ChatGPT and MathGPT correctly answered 35 of the 50 questions, with no significant difference between them. Accuracy varied across topics, with lower performance in sodium chloride Equivalence and Solutions. Logistic regression revealed no significant association between accuracy and question type or topic. Common errors included improper unit conversions, misapplication of calculation methods (eg, creatinine clearance with adjusted body weight), and variations in precision.</div></div><div><h3>Conclusion</h3><div>While demonstrating some capability, the 70% accuracy of ChatGPT 3.5 and MathGPT Unlimited, coupled with fundamental calculation errors, indicates they are insufficiently accurate for sole use in pharmaceutical calculations. These findings highlight the imperative for pharmacy educators to emphasize foundational skills and teach critical evaluation of artificial intelligence-generated responses.</div></div>","PeriodicalId":55530,"journal":{"name":"American Journal of Pharmaceutical Education","volume":"90 1","pages":"Article 101910"},"PeriodicalIF":3.1000,"publicationDate":"2026-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"American Journal of Pharmaceutical Education","FirstCategoryId":"95","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S000294592500556X","RegionNum":4,"RegionCategory":"教育学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/11/27 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"EDUCATION, SCIENTIFIC DISCIPLINES","Score":null,"Total":0}
引用次数: 0
Abstract
Objective
Generative Artificial Intelligence is increasingly integrated into education, with large language models such as ChatGPT and MathGPT providing students with quick access to answers for pharmaceutical calculation problems. However, concerns persist regarding their accuracy for critical skills like pharmaceutical calculations. This study evaluates the accuracy of ChatGPT 3.5 and MathGPT Unlimited in solving pharmacy calculation problems relevant to student pharmacist curricula.
Methods
Fifty pharmaceutical calculation questions covering 9 North American Pharmacist Licensure Examination-aligned topic categories were selected from the University of Arizona R. Ken Coit College of Pharmacy curriculum. Responses generated by ChatGPT 3.5 (free version) and MathGPT Unlimited (data collection concluded July 2024) were compared against an instructor-validated answer key.
Results
Both ChatGPT and MathGPT correctly answered 35 of the 50 questions, with no significant difference between them. Accuracy varied across topics, with lower performance in sodium chloride Equivalence and Solutions. Logistic regression revealed no significant association between accuracy and question type or topic. Common errors included improper unit conversions, misapplication of calculation methods (eg, creatinine clearance with adjusted body weight), and variations in precision.
Conclusion
While demonstrating some capability, the 70% accuracy of ChatGPT 3.5 and MathGPT Unlimited, coupled with fundamental calculation errors, indicates they are insufficiently accurate for sole use in pharmaceutical calculations. These findings highlight the imperative for pharmacy educators to emphasize foundational skills and teach critical evaluation of artificial intelligence-generated responses.
期刊介绍:
The Journal accepts unsolicited manuscripts that have not been published and are not under consideration for publication elsewhere. The Journal only considers material related to pharmaceutical education for publication. Authors must prepare manuscripts to conform to the Journal style (Author Instructions). All manuscripts are subject to peer review and approval by the editor prior to acceptance for publication. Reviewers are assigned by the editor with the advice of the editorial board as needed. Manuscripts are submitted and processed online (Submit a Manuscript) using Editorial Manager, an online manuscript tracking system that facilitates communication between the editorial office, editor, associate editors, reviewers, and authors.
After a manuscript is accepted, it is scheduled for publication in an upcoming issue of the Journal. All manuscripts are formatted and copyedited, and returned to the author for review and approval of the changes. Approximately 2 weeks prior to publication, the author receives an electronic proof of the article for final review and approval. Authors are not assessed page charges for publication.