Documentation

User Guide & Methodologies

In-depth explanations of the mathematical principles, statistical assumptions, and regulatory guidelines powering our tools.

Science is a journey of resilience. Keep going. 🚀

science Molarity Calculation Principles

Molarity (M) is the most ubiquitous unit of concentration in wet-lab biology, analytical chemistry, and pharmacology. It expresses the amount of a substance (solute) dissolved in a specific volume of solution. Accurately calculating molarity is the foundational step for preparing buffers, cell culture media, and drug treatments.

Core Equation:
Mass (g) = Concentration (mol/L) × Volume (L) × Molecular Weight (g/mol)

Practical Considerations in the Lab:

  • Hydration States: Always check the reagent bottle for water of crystallization (e.g., CuSO₄ vs. CuSO₄·5H₂O). The molecular weight changes significantly depending on the hydration state, which will drastically alter your final molarity if ignored.
  • Purity & Impurities: If a chemical is not 100% pure (e.g., a compound with 95% purity), you must adjust the mass weighed out by dividing the calculated theoretical mass by the purity factor (0.95) to ensure the active ingredient reaches the target concentration.

water_drop Dilution Dynamics (C₁V₁ = C₂V₂)

The dilution of stock solutions is a routine yet critical procedure. The principle of conservation of mass dictates that the number of moles of solute remains constant before and after dilution. This is mathematically represented by the universal dilution equation.

The Dilution Equation:
$$ C_1 \times V_1 = C_2 \times V_2 $$
  • C₁: Concentration of initial stock
  • V₁: Volume of stock required
  • C₂: Desired final concentration
  • V₂: Final total volume

Best Practices for Serial Dilution:

When attempting to create a highly dilute working solution from a highly concentrated stock (e.g., a 1:10,000 dilution), calculating a single-step dilution might require pipetting an unmeasurably small volume. In these scenarios, researchers must employ Serial Dilution—creating intermediate dilutions (e.g., 1:100, then another 1:100) to ensure volumetric accuracy.

troubleshoot Statistical Outlier Detection Algorithm

Outlier screening should support data review, not make exclusion decisions automatically. The calculator reports a normality diagnostic separately from the selected screening method. IQR is the default exploratory rule; Grubbs' test is an optional one-candidate test when its approximate-normality assumption is justified. A flagged observation may be valid biology, and results should be interpreted using the study protocol, assay quality controls, and experimental context.

Step 1: D'Agostino–Pearson Normality Screen

For datasets with at least 8 observations, the calculator reports the D'Agostino–Pearson omnibus diagnostic, which assesses departures from normality using skewness and kurtosis. A p-value ≥ 0.05 does not prove that the data are normally distributed; it means this test did not detect sufficient evidence against normality. A p-value < 0.05 is evidence against the normality assumption, not proof that the data are simply “skewed” or that a non-parametric hypothesis test is required. With fewer than 8 observations, normality is not assessed. This diagnostic is shown for context and does not automatically select an outlier method.

No evidence against normality

A p-value ≥ 0.05 is not proof of normality and does not automatically switch the calculator to Grubbs' test. If you choose Grubbs' test, it evaluates one most-extreme candidate at a time under an approximately normal, univariate model. It does not establish that a flagged value is an error, and repeated testing for additional outliers requires a separately planned procedure.

IQR rule for exploratory screening

The interquartile range (IQR) rule is the default exploratory screen, regardless of the normality diagnostic. It is not a formal test of whether a value is erroneous; it can flag valid observations, especially in small samples or skewed distributions.

Q1 = 25th percentile
Q3 = 75th percentile
IQR = Q3 - Q1
Limits: below Q1 − 1.5 × IQR or above Q3 + 1.5 × IQR

You may select Grubbs' test when its assumptions are justified; otherwise, use the default IQR rule as an exploratory screen. The normality diagnostic does not choose an outlier method or a hypothesis test for your study. Choose the downstream analysis based on the design, outcome, assumptions, and prespecified analysis plan. Do not remove observations solely because doing so changes statistical significance.

cruelty_free Human Equivalent Dose (HED) & Scaling

Translating drug dosages from preclinical animal models (mice, rats, dogs, macaques) to human clinical trials (Phase I) is one of the most critical steps in pharmacology. Simply scaling the dose by body weight (mg/kg) is highly dangerous because basal metabolic rate correlates more closely with Body Surface Area (BSA) than with total body mass.

The FDA Allometric Scaling Standard

The FDA established guidelines in 2005 utilizing the K_m factor (Body weight in kg divided by BSA in m²). By comparing the K_m factor of humans to various laboratory animals, pharmacologists can safely extrapolate toxicity thresholds (NOAEL).

$$ HED = \text{Animal Dose} \times \frac{\text{Animal } K_m}{\text{Human } K_m} $$

Reference: FDA Guidance for Industry (July 2005)

stacked_line_chart Independent T-Test & Effect Size

The independent samples t-test is utilized to compare the means of two distinct groups (e.g., wild-type vs. knockout mice, placebo vs. drug treatment) to determine if there is statistical evidence that the associated population means are significantly different from one another.

Why We Default to Welch's T-Test

The traditional Student's t-test operates under a strict assumption of "Homogeneity of Variances" (homoscedasticity)—meaning both groups must have identical standard deviations. In biological sciences, treatment groups often exhibit much higher variance than control groups. Welch's t-test dynamically adjusts the degrees of freedom to account for unequal variances, making it significantly more reliable.

Essential Reporting Statistics Generated:

  • P-value (α = 0.05): The probability of observing the data if the null hypothesis is true.
  • 95% Confidence Interval (CI): Provides a range within which the true difference between population means is expected to lie with 95% certainty.
  • Cohen's d (Effect Size): While a p-value tells you if a difference exists, Cohen's d tells you how large that difference is in standard deviation units (0.2 = Small, 0.5 = Medium, 0.8+ = Large).

grid_4x4 Chi-Square Analysis

The Pearson's Chi-Square test of independence evaluates whether there is a significant association between two categorical variables. It is predominantly used in genetics (Mendelian ratios), epidemiology (exposure vs. disease status), and clinical responses (responder vs. non-responder).

warning The "Low Expected Count" Warning

A fundamental mathematical limitation of the Chi-Square approximation is that it breaks down when sample sizes are too small. Our calculator automatically generates expected counts for every cell. If any cell has an expected count of less than 5, a warning is triggered. In such cases, researchers are highly advised to use Fisher's Exact Test instead.

timeline Survival Analysis: Kaplan-Meier

Time-to-event analysis is the cornerstone of clinical oncology, epidemiology, and longitudinal animal studies. The Kaplan-Meier estimator elegantly handles incomplete observations known as "censoring".

Data Coding Structure

  • Event (Code 1): The primary endpoint (e.g., death, tumor growth) was reached. The survival curve drops.
  • Right-Censored (Code 0): The observation period ended without the event occurring, or the subject was lost to follow-up. The curve does NOT drop, but the denominator decreases.

The Log-Rank Test

While the Kaplan-Meier plot provides a visual representation, the Log-Rank Test provides the statistical rigorousness. It tests the null hypothesis that there is no difference in the probability of an event between groups at any point in time.