function calculateEnrollment() {
var participants = parseFloat(document.getElementById('totalParticipants').value);
var sites = parseFloat(document.getElementById('numSites').value);
var duration = parseFloat(document.getElementById('timeDuration').value);
var unit = document.getElementById('timeUnit').value;
if (isNaN(participants) || isNaN(sites) || isNaN(duration) || duration <= 0 || sites <= 0) {
alert("Please enter valid positive numbers for all fields.");
return;
}
var overallRate = participants / duration;
var siteRate = overallRate / sites;
// Monthly projection calculation
var monthlyFactor = 1;
if (unit === "Weeks") { monthlyFactor = 4.345; }
else if (unit === "Days") { monthlyFactor = 30.44; }
var projection = overallRate * monthlyFactor * 6;
document.getElementById('overallRate').innerText = overallRate.toFixed(2) + " participants per " + unit.toLowerCase().slice(0, -1);
document.getElementById('siteRate').innerText = siteRate.toFixed(2) + " participants per site / " + unit.toLowerCase().slice(0, -1);
document.getElementById('projection').innerText = Math.round(projection) + " participants";
document.getElementById('resultsArea').style.display = 'block';
}
Understanding Enrollment Rate in Clinical Trials
In clinical research, the enrollment rate (often referred to as recruitment velocity) is one of the most critical metrics for project managers, sponsors, and principal investigators. It measures the speed at which participants are screened, consented, and randomized into a study over a specific timeframe.
How to Calculate the Enrollment Rate
The basic formula for enrollment rate is straightforward, but it can be viewed from two primary perspectives: the overall study rate and the per-site performance rate.
1. Overall Enrollment Rate Formula
This formula tells you the speed of the entire trial across all active locations.
Formula: Total Participants Enrolled ÷ Total Recruitment Time
2. Enrollment Rate Per Site (Metrics)
This is often the most useful metric for assessing site feasibility and performance. It allows you to compare a high-performing university hospital against a smaller private clinic.
Formula: Total Participants ÷ (Number of Sites × Total Recruitment Time)
Why These Metrics Matter
Timeline Management: If your enrollment rate is 2 patients per month but you need 200 patients, you know your trial will take 100 months unless you add more sites.
Budgeting: Slow recruitment increases "study maintenance" costs, such as monitoring visits and site management fees.
Feasibility Analysis: When planning a new Phase III trial, looking at the enrollment rates of Phase II trials helps set realistic expectations.
Example Calculation
Imagine a Phase II oncology trial that has been active for 10 months. During this time, 5 active sites have successfully randomized 50 participants.