Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.1%) to scientific vocabulary
Last synced: 7 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: claireprice
  • License: other
  • Language: HTML
  • Default Branch: main
  • Size: 15.6 KB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 1
Created 10 months ago · Last pushed 10 months ago
Metadata Files
Readme License Citation

README.md

Anion Gap Calculator

Author: Claire Louise Price
Website: Acid-Base Tools Homepage

Overview

This web-based tool calculates the Anion Gap (AG) - a useful clinical measure to evaluate metabolic acidosis. Users input serum electrolyte levels (Na⁺, Cl⁻, and HCO₃⁻), and optionally, albumin levels to calculate a corrected AG. The calculator provides instant interpretation and educational context, including a clinical explanation and a quiz prompt.

Features

  • Instant Anion Gap calculation from user-input sodium, chloride, and bicarbonate values.
  • Corrected AG for albumin if provided.
  • Displays:
    • AG formula breakdown
    • Interpretation of normal vs. elevated AG
    • Quiz prompt for educational engagement
    • Clinical relevance of findings
  • Simple, clean, mobile-responsive layout.

Formulae

  • AG = Na⁺ − (Cl⁻ + HCO₃⁻)
  • Corrected AG = AG + 2.5 × (4.0 − Albumin)

Clinical Use

An elevated anion gap may indicate: - Lactic acidosis
- Diabetic or alcoholic ketoacidosis
- Renal failure
- Ingestion of toxins (e.g., methanol, ethylene glycol)

Usage

  1. Open the HTML file in any modern browser.
  2. Enter the values for:
    • Sodium (Na⁺)
    • Chloride (Cl⁻)
    • Bicarbonate (HCO₃⁻)
    • Albumin (optional)
  3. Click Calculate Anion Gap to view the results and interpretation.
  4. Use the educational sections to reinforce learning.

License

Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)

© Claire Price, 2025.

You are free to: - Share — copy and redistribute the material in any medium or format - Adapt — remix, transform, and build upon the material for educational purposes

Under the following terms: - Attribution — You must give appropriate credit and indicate if changes were made. - NonCommercial — You may not use the material for commercial purposes.

License details: https://creativecommons.org/licenses/by-nc/4.0/

DOI


THIS IS FOR EDUCATIONAL USE ONLY!

Owner

  • Login: claireprice
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this tool, please cite it using the information below."
title: "Anion Gap Calculator"
authors:
  - family-names: Price
    given-names: Claire Louise
    affiliation: Swansea University Medical School, Swansea SA2 8PP UK
    orcid: "https://orcid.org/0000-0002-6045-4835" 
    website: "https://claireprice.github.io/acid-base-tools-homepage/"
date-released: 2025-01-01
version: "1.0"
license: "CC-BY-NC-4.0"
url: "https://claireprice.github.io/anion-gap-calculator/"  
repository-code: "https://github.com/claireprice/anion-gap-calculator" 
keywords:
  - anion gap
  - acid-base balance
  - medical education
  - clinical calculator
  - metabolic acidosis
  - electrolyte panel
abstract: >
  The Anion Gap Calculator is a browser-based educational tool designed to evaluate metabolic acidosis
  using standard serum electrolytes. It calculates the anion gap and corrected anion gap (if albumin is provided),
  offering instant interpretation, clinical relevance, and interactive learning elements. Intended for healthcare
  students, educators, and clinicians in training. For educational use only.

GitHub Events

Total
  • Public event: 1
  • Push event: 3
Last Year
  • Public event: 1
  • Push event: 3