Log2 Calculator Calculators
0 calculators tagged with “Log2 Calculator”
All Calculators
No calculators found for this topic.
Log₂ Calculation
log₂(x) = log(x) / log(2) = ln(x) / ln(2)
log₂(1) = 0. log₂(2) = 1. log₂(4) = 2. log₂(8) = 3. log₂(0.5) = −1. log₂(0.25) = −2. Conversion: log₂(x) = log₁₀(x) / 0.30103 = ln(x) / 0.6931.
Fold Change in Biology
Gene expression: FC = treated/control. log₂FC = log₂(treated/control). log₂FC = 1 → 2-fold increase. log₂FC = 2 → 4-fold increase. log₂FC = −1 → 2-fold decrease. log₂FC = 0 → no change (FC = 1). Typical RNA-seq cutoffs: |log₂FC| ≥ 1 AND adjusted p-value < 0.05 = differentially expressed.
Information Theory
Shannon entropy in bits: H = −Σpᵢ × log₂(pᵢ). Each bit requires 2-fold discrimination. 1 bit = choice between 2 equally likely outcomes. DNA: 4 bases → 2 bits per position = log₂(4). Gene expression in bits: H(expression pattern) = −Σ tissue_fraction × log₂(tissue_fraction).
Glossary
Frequently Asked Questions
log₂(x) = log₁₀(x) / log₁₀(2) = log₁₀(x) / 0.30103 = ln(x) / ln(2) = ln(x) / 0.6931. Examples: log₂(8) = log₁₀(8)/0.30103 = 0.9031/0.30103 = 3.0 ✓ (since 2³ = 8). log₂(100) = log₁₀(100)/0.30103 = 2/0.30103 = 6.64. log₂(0.5) = log₁₀(0.5)/0.30103 = −0.30103/0.30103 = −1 (since 2⁻¹ = 0.5). Calculator: most scientific calculators have a LOG button (log₁₀) — divide by 0.30103. In Excel: =LOG(x, 2) or =LOG2(x) or =LN(x)/LN(2).
In RNA-seq and microarray analysis, expression ratios are reported as log₂ fold change (log₂FC): log₂FC = log₂(expression in condition A / expression in condition B). Why log₂: symmetric: FC = 2 → log₂FC = 1; FC = 0.5 → log₂FC = −1 (equal magnitude for up vs. down). Additive: combining log₂FC values makes mathematical operations simpler. Standard cutoffs for differential expression: |log₂FC| ≥ 1 (at least 2-fold change) AND adjusted p-value (FDR) < 0.05. Volcano plot: x-axis = log₂FC; y-axis = −log₁₀(adjusted p-value); upper-right = significantly upregulated; upper-left = significantly downregulated.
In information theory, logarithm base 2 measures information in bits: Shannon entropy: H = −Σpᵢ × log₂(pᵢ) bits. 1 bit = information needed to distinguish between 2 equally likely outcomes. DNA: 4 nucleotides (A, T, G, C) each with probability 1/4 in random DNA: H per position = −4 × (1/4) × log₂(1/4) = 2 bits/position. Sequence logo: shows information content at each position of a sequence motif: 2 bits = perfectly conserved (one nucleotide only); 0 bits = any nucleotide equally likely. Binary: log₂ is the natural logarithm of the binary number system; log₂(n) bits required to represent n values; log₂(256) = 8 bits in a byte.
log₂ (log base 2): gene expression fold changes (RNA-seq, microarray); information theory (bits); binary data; LOD scores in genetics. ln (natural log, base e): kinetic equations (first-order decay: ln(N) = ln(N₀) − kt); thermodynamics (ΔG = −RT ln Keq); growth curves (ln(OD) vs. time → slope = μ). log₁₀ (common log, base 10): pH = −log₁₀[H⁺]; Nernst equation simplified at 25°C: (0.0592/n) × log₁₀(Q); dose-response curves (log dose scale); OD measurements plotted logarithmically. Rule of thumb: when the data doubles at each step → use log₂. When measuring pH, conductivity, decibels → use log₁₀. When in thermodynamic equations → use ln.