Hiv Post Exposure Prophylaxis Calculator
Determine if PEP is recommended based on exposure type, source status, and timing. Enter values for instant results with step-by-step formulas.
Reviewed for accuracy by Rahul Singh, Health & Wellness Specialist
Medical disclaimer: This calculator is provided for educational and informational purposes only and does not constitute medical advice, diagnosis, or treatment. Results are general estimates and may not reflect your individual circumstances. Always consult a qualified healthcare professional before making decisions about your health.
Hiv Post Exposure Prophylaxis Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: Adjusted Risk = Base Risk x Exposure Modifier x Source Status Modifier
Worked example โ PEP RECOMMENDED | Risk: 0.450% | Start TDF/FTC + Dolutegravir immediately for 28 days
Formula
Adjusted Risk = Base Risk x Exposure Modifier x Source Status Modifier
Base transmission risk varies by exposure type (percutaneous 0.3%, mucous membrane 0.09%, receptive anal intercourse 1.38%). Modifiers adjust for exposure severity (hollow needle, deep injury) and source viral status (detectable, undetectable, unknown). PEP is recommended within 72 hours for significant exposures.
Worked Examples
Example 1: Healthcare Worker Needlestick from Known HIV+ Patient
Problem:A nurse sustains a hollow-needle needlestick injury from a known HIV-positive patient with a detectable viral load. The exposure occurred 1 hour ago.
Solution:Exposure: Percutaneous (needlestick) Base risk: 0.3% Hollow needle modifier: x1.5 Source: HIV-positive, detectable viral load (x1.0) Adjusted risk: 0.3% x 1.5 x 1.0 = 0.45% Time elapsed: 1 hour (within optimal 2-hour window) PEP recommendation: YES - Start immediately
Result:PEP RECOMMENDED | Risk: 0.450% | Start TDF/FTC + Dolutegravir immediately for 28 days
Example 2: Sexual Exposure with Unknown Source Status
Problem:A 28-year-old presents 18 hours after unprotected receptive anal intercourse with a partner of unknown HIV status.
Solution:Exposure: Sexual - Receptive Anal Base risk: 1.38% Source status: Unknown (x0.2) Adjusted risk: 1.38% x 0.2 = 0.276% Time elapsed: 18 hours (within urgent window) PEP recommendation: YES - High-risk exposure type warrants PEP
Result:PEP RECOMMENDED | Risk: 0.276% | Start TDF/FTC + Raltegravir within 72 hours for 28 days
Frequently Asked Questions
What is HIV post-exposure prophylaxis (PEP) and how does it work?
HIV post-exposure prophylaxis (PEP) is a course of antiretroviral medications taken after a potential exposure to HIV to prevent the virus from establishing a permanent infection. PEP works by blocking HIV replication at critical early stages before the virus can integrate into the host cell DNA and spread throughout the body. After exposure, HIV initially infects dendritic cells and CD4+ T lymphocytes at the exposure site over the first 24 to 48 hours. These infected cells then migrate to regional lymph nodes over 48 to 72 hours before systemic dissemination occurs. PEP medications interrupt this process by inhibiting viral reverse transcriptase and integrase enzymes, preventing viral replication within newly infected cells and blocking spread to other cells.
How soon after exposure must PEP be started to be effective?
PEP must be started as soon as possible after exposure, ideally within 2 hours, and no later than 72 hours (3 days) after the potential HIV exposure. Animal studies have shown that PEP effectiveness decreases significantly with each hour of delay. In primate models, PEP initiated within 24 hours of exposure reduced transmission by approximately 80 to 90 percent, while initiation at 48 hours provided substantially less protection. PEP started beyond 72 hours is generally not recommended because by this point, HIV has typically spread from the local infection site to regional lymph nodes and systemic circulation, making it much more difficult to prevent established infection. Emergency departments should have PEP starter packs available for immediate dispensing without waiting for specialist consultation.
What is the recommended PEP medication regimen according to current guidelines?
The current CDC-recommended PEP regimen consists of a 28-day course of three antiretroviral medications. The preferred regimen is Tenofovir disoproxil fumarate (TDF) 300 mg plus Emtricitabine (FTC) 200 mg taken as a single combination tablet (Truvada) once daily, PLUS either Raltegravir 400 mg twice daily or Dolutegravir 50 mg once daily. Dolutegravir has become increasingly preferred due to once-daily dosing, fewer drug interactions, and better tolerability. For patients who cannot tolerate TDF, Tenofovir alafenamide (TAF) with emtricitabine (Descovy) may be substituted. The three-drug regimen is used rather than two drugs because it provides superior viral suppression and a higher barrier to resistance development.
What types of exposure carry the highest risk of HIV transmission?
HIV transmission risk varies significantly by exposure type. The highest-risk exposure is receptive anal intercourse with an HIV-positive partner, with an estimated per-act transmission probability of approximately 1.38 percent. Percutaneous exposure (needlestick injuries) carries a risk of about 0.3 percent, which increases substantially with deep injuries, large-bore hollow needles, visible blood on the device, and source patients with high viral loads. Receptive vaginal intercourse carries approximately 0.08 percent risk per act. Mucous membrane splashes and non-intact skin exposures carry approximately 0.09 percent risk. The source patient having a high viral load is the single most important factor increasing transmission risk, while an undetectable viral load reduces risk by approximately 96 percent or more.
What factors increase the risk of HIV transmission from a needlestick injury?
Several factors significantly increase HIV transmission risk from occupational needlestick injuries. Deep percutaneous injuries carry approximately 6 times higher risk than superficial scratches. Injuries from large-bore hollow needles (such as those used for blood draws or IV access) carry approximately 3 times higher risk than solid suture needles. Visible blood on the device at the time of injury increases risk approximately 5-fold. Source patients with high HIV viral loads (particularly those with advanced AIDS or acute HIV infection) dramatically increase transmission risk. A landmark case-control study by Cardo and colleagues published in the New England Journal of Medicine in 1997 identified these factors and formed the basis for risk stratification in current PEP guidelines.
What are the common side effects of PEP medications?
PEP medications commonly cause gastrointestinal side effects including nausea (affecting 40 to 70 percent of patients), vomiting, diarrhea, and abdominal discomfort, particularly during the first week of treatment. Fatigue and headache are also frequently reported. Most side effects improve after the first 7 to 10 days as the body adjusts to the medications. Tenofovir can rarely cause renal toxicity, which is why baseline and follow-up kidney function tests are recommended. Raltegravir may cause muscle pain (myalgia) and elevated creatine kinase levels. Dolutegravir can cause insomnia and headache in some patients. Anti-emetics such as ondansetron or metoclopramide can be prescribed alongside PEP to manage nausea and improve medication adherence, which is critical for PEP effectiveness.
What is the follow-up testing schedule after starting PEP?
After initiating PEP, a structured follow-up testing schedule is essential to monitor for HIV seroconversion and medication side effects. At baseline, patients should receive a fourth-generation HIV Ag/Ab combination test, hepatitis B surface antigen and antibody, hepatitis C antibody, complete blood count, comprehensive metabolic panel including renal function, and pregnancy test for women of childbearing potential. At 2 weeks, medication tolerance assessment and basic metabolic panel should be performed. At 4 to 6 weeks after exposure, a follow-up fourth-generation HIV test is recommended. At 3 months, repeat HIV testing and hepatitis panels are indicated. If hepatitis C co-exposure occurred, a final HIV test at 6 months is recommended because hepatitis C co-infection may delay HIV antibody response.
How does source patient viral load affect PEP recommendations?
The source patient HIV viral load is one of the most critical factors in determining both transmission risk and PEP urgency. When the source patient has a detectable viral load, transmission risk is at its baseline level for the exposure type, and PEP is generally recommended for significant exposures. When the source patient is on effective antiretroviral therapy with an undetectable viral load (less than 200 copies per milliliter), the risk of transmission is reduced by approximately 96 percent or more, consistent with the U=U (Undetectable = Untransmittable) principle validated in the PARTNER and PARTNER2 studies. However, many guidelines still recommend PEP even with undetectable source viral loads for high-risk exposures because viral load can fluctuate and the test result may not reflect the viral load at the time of exposure.
What is the difference between PEP and PrEP for HIV prevention?
PEP (post-exposure prophylaxis) and PrEP (pre-exposure prophylaxis) are both antiretroviral-based HIV prevention strategies but differ in timing, duration, and target populations. PEP is an emergency intervention taken AFTER a specific exposure event, consisting of three antiretroviral drugs for exactly 28 days, and must be started within 72 hours. PrEP is a preventive measure taken BEFORE potential exposure on an ongoing basis, typically using two drugs (Truvada or Descovy), by individuals at ongoing high risk of HIV acquisition such as men who have sex with men, people with HIV-positive partners, or injection drug users. PrEP reduces HIV acquisition risk by approximately 99 percent when taken consistently. Patients requiring repeated PEP courses should be evaluated for PrEP candidacy to provide continuous protection.
Should PEP be started before the source patient HIV status is confirmed?
Yes, PEP should be initiated immediately based on clinical assessment without waiting for source patient HIV test results, because the 72-hour treatment window is critical and delays significantly reduce effectiveness. Guidelines recommend starting PEP within hours of exposure if the source patient is known HIV-positive, if the source HIV status is unknown but the exposure is high-risk, or if the source cannot be tested (needle found in community, sexual assault). Source patient testing should proceed in parallel with PEP initiation using rapid fourth-generation HIV tests that provide results within 20 to 60 minutes. If the source tests definitively HIV-negative (with no concern for acute infection window period), PEP can be discontinued. This start-now-and-adjust-later approach maximizes protection while minimizing unnecessary medication exposure.
References
Background & Theory
History
Reviewed for accuracy by Rahul Singh, Health & Wellness Specialist ยท Editorial policy
Related Calculators
๐งฎGRACE Score Calculator
Calculate 6-month post-ACS mortality risk using the Global Registry of Acute Coronary Events score.
๐งฎChads2 Score Calculator
Calculate the CHADS2 stroke risk score for patients with non-valvular atrial fibrillation.
๐งฎCha2ds2-Vasc Score Calculator
Calculate CHA2DS2-VASc score for stroke risk stratification in atrial fibrillation patients.
๐งฎHas-Bled Score Calculator
Assess bleeding risk in patients on anticoagulation using the HAS-BLED scoring system.
๐งฎHEART Score Calculator for Chest Pain Risk
Risk-stratify emergency department patients with chest pain using the HEART score.
๐งฎTIMI Risk Score Calculator
Calculate the TIMI risk score for STEMI and UA/NSTEMI patients.