/* Grid background */
.mcs-grid-bg {
position: fixed; inset: 0; z-index: 0; pointer-events: none;
background-image:
linear-gradient(rgba(245,158,11,0.025) 1px, transparent 1px),
linear-gradient(90deg, rgba(245,158,11,0.025) 1px, transparent 1px);
background-size: 48px 48px;
}
.mcs-glow {
position: fixed; width: 800px; height: 400px;
background: radial-gradient(ellipse, rgba(245,158,11,0.07) 0%, transparent 70%);
top: -100px; left: 50%; transform: translateX(-50%);
pointer-events: none; z-index: 0;
animation: mcs-breathe 8s ease-in-out infinite;
}
@keyframes mcs-breathe { 0%,100%{opacity:0.6} 50%{opacity:1} }
/* HERO */
.mcs-hero {
position: relative; z-index: 1;
padding: 100px 24px 40px;
text-align: center; max-width: 900px; margin: 0 auto;
}
.mcs-hero-label {
display: inline-flex; align-items: center; gap: 8px;
background: var(–mcs-amber-glow);
border: 1px solid rgba(245,158,11,0.3);
border-radius: 100px; padding: 5px 16px;
font-size: 12px; font-weight: 600; color: var(–mcs-amber-bright);
letter-spacing: 1.5px; text-transform: uppercase;
margin-bottom: 22px;
animation: mcs-fadein 0.5s ease both;
}
.mcs-h1 {
font-family: var(–mcs-font-display);
font-size: clamp(30px, 6vw, 60px);
font-weight: 800; letter-spacing: -2px; line-height: 1.05;
margin-bottom: 16px;
animation: mcs-fadein 0.5s 0.08s ease both;
}
.mcs-h1 mark {
background: linear-gradient(135deg, var(–mcs-amber), var(–mcs-amber-bright));
-webkit-background-clip: text; -webkit-text-fill-color: transparent;
background-clip: text;
}
.mcs-hero-sub {
font-size: clamp(14px, 2vw, 17px); font-weight: 300; color: var(–mcs-text-muted);
line-height: 1.65; max-width: 520px; margin: 0 auto 28px;
animation: mcs-fadein 0.5s 0.15s ease both;
}
@keyframes mcs-fadein { from{opacity:0;transform:translateY(-12px)} to{opacity:1;transform:translateY(0)} }
/* STATS ROW */
.mcs-stats {
display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap;
margin-bottom: 32px;
animation: mcs-fadein 0.5s 0.2s ease both;
}
.mcs-stat { display:flex; align-items:center; gap:6px; font-size:13px; color:var(–mcs-text-muted); }
.mcs-stat strong { color:var(–mcs-text); font-weight:600; }
.mcs-stat-sep { width:1px; height:14px; background:var(–mcs-border); }
/* SEARCH */
.mcs-search-wrap {
max-width: 480px; margin: 0 auto 48px;
position: relative;
animation: mcs-fadein 0.5s 0.25s ease both;
}
.mcs-search-icon {
position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
color: var(–mcs-text-dim); font-size: 16px; pointer-events: none;
}
.mcs-search {
width: 100%; background: var(–mcs-surface);
border: 1px solid var(–mcs-border); border-radius: 12px;
padding: 13px 16px 13px 42px;
font-family: var(–mcs-font-body); font-size: 15px; color: var(–mcs-text);
outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.mcs-search::placeholder { color: var(–mcs-text-dim); }
.mcs-search:focus {
border-color: var(–mcs-amber);
box-shadow: 0 0 0 3px rgba(245,158,11,0.1);
}
.mcs-search-clear {
position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
background: none; border: none; color: var(–mcs-text-dim); cursor: pointer;
font-size: 16px; display: none; padding: 4px;
}
/* FILTER TABS */
.mcs-tabs {
display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
max-width: 900px; margin: 0 auto 40px;
position: relative; z-index: 1;
}
.mcs-tab {
background: var(–mcs-surface); border: 1px solid var(–mcs-border);
border-radius: 100px; padding: 7px 16px;
font-size: 13px; font-weight: 500; color: var(–mcs-text-muted);
cursor: pointer; transition: all 0.18s; font-family: var(–mcs-font-body);
}
.mcs-tab:hover { border-color:var(–mcs-border2); color:var(–mcs-text); }
.mcs-tab.mcs-active {
background: var(–mcs-amber-glow);
border-color: rgba(245,158,11,0.4);
color: var(–mcs-amber-bright);
font-weight: 600;
}
/* MAIN LAYOUT */
.mcs-main {
position: relative; z-index: 1;
max-width: 1100px; margin: 0 auto; padding: 0 24px;
display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start;
}
@media(max-width:820px){ .mcs-main{ grid-template-columns:1fr; } .mcs-sidebar{display:none;} }
/* SIDEBAR */
.mcs-sidebar { position: sticky; top: 80px; }
.mcs-sidebar-title {
font-size: 11px; font-weight: 700; text-transform: uppercase;
letter-spacing: 1.5px; color: var(–mcs-text-dim); margin-bottom: 12px;
}
.mcs-toc { list-style: none; display: flex; flex-direction: column; gap: 3px; }
.mcs-toc a {
display: block; padding: 7px 12px; border-radius: 8px;
font-size: 13px; color: var(–mcs-text-muted); text-decoration: none;
border-left: 2px solid transparent; transition: all 0.15s;
}
.mcs-toc a:hover { color:var(–mcs-text); background:rgba(255,255,255,0.03); border-left-color:var(–mcs-border2); }
.mcs-toc a.mcs-toc-active { color:var(–mcs-amber-bright); border-left-color:var(–mcs-amber); background:var(–mcs-amber-glow); }
.mcs-sidebar-cta {
margin-top: 24px;
background: var(–mcs-amber-glow); border: 1px solid rgba(245,158,11,0.25);
border-radius: 14px; padding: 18px 16px; text-align: center;
}
.mcs-sidebar-cta p { font-size: 13px; color: var(–mcs-text-muted); line-height: 1.5; margin-bottom: 12px; }
.mcs-sidebar-cta a {
display: block; background: var(–mcs-amber); color: #000;
border-radius: 8px; padding: 9px; font-size: 13px; font-weight: 700;
text-decoration: none; transition: background 0.2s;
}
.mcs-sidebar-cta a:hover { background: var(–mcs-amber-bright); }
/* FORMULA SECTIONS */
.mcs-content { display: flex; flex-direction: column; gap: 40px; padding-bottom: 80px; }
.mcs-section {
scroll-margin-top: 90px;
}
.mcs-section-header {
display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
padding-bottom: 12px; border-bottom: 1px solid var(–mcs-border);
}
.mcs-section-icon {
width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
display: flex; align-items: center; justify-content: center; font-size: 18px;
background: var(–mcs-amber-glow); border: 1px solid rgba(245,158,11,0.2);
}
.mcs-section-title {
font-family: var(–mcs-font-display); font-size: 20px; font-weight: 800;
letter-spacing: -0.5px;
}
.mcs-section-count {
margin-left: auto; font-size: 12px; color: var(–mcs-text-dim);
background: var(–mcs-surface2); border: 1px solid var(–mcs-border);
border-radius: 100px; padding: 2px 10px; white-space: nowrap;
}
/* FORMULA CARDS GRID */
.mcs-formulas-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 12px;
}
.mcs-formula-card {
background: var(–mcs-surface);
border: 1px solid var(–mcs-border);
border-radius: 13px; overflow: hidden;
transition: border-color 0.2s, transform 0.15s;
position: relative;
}
.mcs-formula-card:hover {
border-color: rgba(245,158,11,0.3);
transform: translateY(-2px);
}
.mcs-formula-card.mcs-hidden { display: none !important; }
.mcs-card-top { padding: 14px 16px 10px; }
.mcs-card-name {
font-size: 13px; font-weight: 600; color: var(–mcs-text-muted);
margin-bottom: 8px; display: flex; align-items: center; gap: 7px;
}
.mcs-card-tag {
font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
padding: 2px 7px; border-radius: 4px; flex-shrink: 0;
}
.mcs-tag-basic { background:rgba(16,185,129,0.12); color:#10B981; }
.mcs-tag-inter { background:rgba(59,130,246,0.12); color:#60A5FA; }
.mcs-tag-adv { background:rgba(239,68,68,0.12); color:#FCA5A5; }
.mcs-formula-box {
background: var(–mcs-bg);
border: 1px solid var(–mcs-border);
border-radius: 8px;
padding: 12px 14px;
font-family: var(–mcs-font-mono);
font-size: 15px; font-weight: 600;
color: var(–mcs-amber-bright);
line-height: 1.5;
letter-spacing: -0.2px;
position: relative;
word-break: break-word;
}
.mcs-formula-box sub { font-size: 10px; vertical-align: sub; }
.mcs-formula-box sup { font-size: 10px; vertical-align: super; }
.mcs-card-bottom {
padding: 10px 14px 12px;
border-top: 1px solid var(–mcs-border);
display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
}
.mcs-card-desc { font-size: 12px; color: var(–mcs-text-dim); line-height: 1.5; flex: 1; }
.mcs-copy-btn {
flex-shrink: 0; background: transparent; border: 1px solid var(–mcs-border);
border-radius: 6px; padding: 5px 10px; font-size: 11px; font-weight: 600;
color: var(–mcs-text-dim); cursor: pointer; font-family: var(–mcs-font-body);
transition: all 0.15s; white-space: nowrap;
}
.mcs-copy-btn:hover { border-color:var(–mcs-amber); color:var(–mcs-amber); }
.mcs-copy-btn.mcs-copied { border-color:var(–mcs-green); color:var(–mcs-green); }
/* INLINE CTA between sections */
.mcs-inline-cta {
background: var(–mcs-amber-glow);
border: 1px solid rgba(245,158,11,0.2);
border-radius: 14px; padding: 20px 22px;
display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.mcs-inline-cta-text { flex: 1; min-width: 200px; }
.mcs-inline-cta-text strong { font-size: 14px; font-weight: 600; display: block; margin-bottom: 3px; }
.mcs-inline-cta-text span { font-size: 13px; color: var(–mcs-text-muted); }
.mcs-inline-btn {
background: var(–mcs-amber); color: #000; border: none;
border-radius: 9px; padding: 10px 20px; font-size: 13px; font-weight: 700;
cursor: pointer; text-decoration: none; white-space: nowrap;
font-family: var(–mcs-font-body); transition: background 0.15s;
}
.mcs-inline-btn:hover { background: var(–mcs-amber-bright); }
/* NO RESULTS */
.mcs-no-results {
display: none; text-align: center; padding: 48px 24px;
color: var(–mcs-text-muted); font-size: 15px;
grid-column: 1/-1;
}
/* SEO SECTION */
.mcs-seo {
position: relative; z-index: 1;
max-width: 820px; margin: 0 auto; padding: 40px 24px 80px;
border-top: 1px solid var(–mcs-border);
}
.mcs-seo h2 { font-family:var(–mcs-font-display); font-size:24px; font-weight:800; letter-spacing:-0.5px; margin:36px 0 12px; }
.mcs-seo h3 { font-family:var(–mcs-font-display); font-size:17px; font-weight:700; color:var(–mcs-amber-bright); margin:20px 0 6px; }
.mcs-seo p { font-size:15px; color:var(–mcs-text-muted); line-height:1.8; margin-bottom:12px; }
.mcs-seo ul { padding-left:20px; margin-bottom:12px; }
.mcs-seo li { font-size:15px; color:var(–mcs-text-muted); line-height:1.7; margin-bottom:4px; }
/* PRINT STYLES */
@media print {
.mcs-grid-bg, .mcs-glow, .mcs-hero-label, .mcs-stats,
.mcs-search-wrap, .mcs-tabs, .mcs-sidebar, .mcs-inline-cta,
.mcs-copy-btn, .mcs-seo { display: none !important; }
body { background: #fff; color: #000; }
.mcs-main { display: block; }
.mcs-formula-box { background: #f8f8f8; color: #333; border: 1px solid #ddd; }
.mcs-section-title { color: #000; }
.mcs-formula-card { border: 1px solid #ddd; break-inside: avoid; }
.mcs-card-desc { color: #555; }
.mcs-hero { padding: 20px 24px 16px; }
.mcs-h1 { color: #000; font-size: 28px; }
.mcs-hero-sub { color: #555; }
.mcs-formulas-grid { grid-template-columns: 1fr 1fr; }
}
/* SCROLL TO TOP */
.mcs-scroll-top {
position: fixed; bottom: 28px; right: 24px; z-index: 90;
width: 40px; height: 40px; border-radius: 50%;
background: var(–mcs-amber); border: none; cursor: pointer;
display: flex; align-items: center; justify-content: center;
font-size: 18px; color: #000; box-shadow: 0 4px 16px rgba(245,158,11,0.3);
opacity: 0; transition: opacity 0.25s;
}
.mcs-scroll-top.visible { opacity: 1; }
📐 Complete Reference · Updated 2026
Algebra FormulasCheat Sheet
Every formula you need — searchable, copyable, organized by topic. From linear equations to logarithm laws. Bookmark and come back any time.
📋 60+ formulas
🏷️ 8 topics
🖨️ Print-ready
🆓 Free forever
🔍
✕
All Topics
Linear Equations
Quadratic
Factoring
Exponents
Logarithms
Systems
Sequences
Inequalities
Stuck on a linear equation?
Photo of your problem → full step-by-step solution in seconds, free.
📷 Solve by Camera →
Have an exponent or factoring problem?
Take a photo and get every step shown — completely free, no subscription.
📷 Solve Now →
Found the formula? Now solve your actual problem.
Upload a photo of any algebra problem — get complete step-by-step solution free.
📷 Solve by Photo →
No formulas found for “ “. Try a different keyword.
How to Use This Algebra Formulas Reference
This cheat sheet covers every essential algebra formula from pre-algebra through Algebra II, organized into eight topic categories. Use the search bar at the top to find any formula instantly by keyword — type “quadratic”, “log”, “slope”, or any variable name. Use the topic tabs to filter by category. Click Copy on any formula card to copy it to your clipboard for use in notes or documents.
Each formula card shows the level tag (Basic / Intermediate / Advanced) so you can quickly identify which formulas are foundational and which are higher-level. The page is print-ready — press Ctrl+P (or Cmd+P on Mac) for a clean black-and-white printable version with no navigation or ads.
The Most Important Algebra Formulas to Know
If you’re studying for a test and need to prioritize, these are the formulas that appear most often in algebra coursework and exams:
Quadratic Formula
x = (−b ± √(b²−4ac)) / 2a is the single most important formula in all of Algebra I and II. It solves any quadratic equation ax² + bx + c = 0 regardless of whether it factors nicely. The discriminant b²−4ac tells you how many real solutions exist before you even solve: positive = two solutions, zero = one solution, negative = no real solutions.
Factoring Identities
The three special products — difference of squares (a²−b²), perfect square trinomials (a±b)², and sum/difference of cubes (a³±b³) — account for the majority of factoring problems in Algebra I through pre-calculus. Recognizing these patterns immediately saves significant time on exams.
Exponent Rules
The seven exponent rules (product, quotient, power, zero, negative, fractional, and product-to-a-power) are foundational for simplifying expressions and solving exponential equations. Pay particular attention to negative exponents (a⁻ⁿ = 1/aⁿ) and fractional exponents (a^(m/n) = ⁿ√aᵐ) — these cause the most confusion.
Logarithm Laws
The three core log laws (product rule, quotient rule, power rule) plus the change of base formula are everything you need for Algebra II logarithm problems. A common mistake is treating log(x + y) as log(x) + log(y) — this is wrong. The product rule applies to log(xy), not log(x+y).
Algebra Formulas by Grade Level
Pre-Algebra and Algebra I students need: slope formulas, the quadratic formula, basic exponent rules, GCF factoring, the difference of squares, and linear inequality properties. These appear in every state standard for grades 7–10.
Algebra II adds: logarithm laws, sequences and series formulas, Vieta’s formulas, rational inequalities, and the binomial theorem. If you’re preparing for SAT or ACT math, mastering the Algebra I formulas above is the highest return on study time — they appear in roughly 35% of math questions on both exams.
↑
(function(){
// ── SEARCH ─────────────────────────────────────────────────────
const searchInput = document.getElementById(‘mcs-search’);
const clearBtn = document.getElementById(‘mcs-clear’);
const noResults = document.getElementById(‘mcs-no-results’);
const noResultsTerm = document.getElementById(‘mcs-no-results-term’);
const allCards = document.querySelectorAll(‘.mcs-formula-card’);
const allSections = document.querySelectorAll(‘.mcs-section’);
const allInlineCTAs = document.querySelectorAll(‘.mcs-inline-cta’);
function runSearch(query) {
const q = query.toLowerCase().trim();
clearBtn.style.display = q ? ‘block’ : ‘none’;
// Reset active tab
document.querySelectorAll(‘.mcs-tab’).forEach(t => t.classList.remove(‘mcs-active’));
document.querySelector(‘[data-filter=”all”]’).classList.add(‘mcs-active’);
if (!q) {
allCards.forEach(c => c.classList.remove(‘mcs-hidden’));
allSections.forEach(s => s.style.display = ”);
allInlineCTAs.forEach(c => c.style.display = ”);
noResults.style.display = ‘none’;
return;
}
let visibleCount = 0;
allCards.forEach(function(card) {
const name = (card.dataset.name || ”).toLowerCase();
const tags = (card.dataset.tags || ”).toLowerCase();
const formula = card.querySelector(‘.mcs-formula-box’)?.textContent.toLowerCase() || ”;
const desc = card.querySelector(‘.mcs-card-desc’)?.textContent.toLowerCase() || ”;
const match = name.includes(q) || tags.includes(q) || formula.includes(q) || desc.includes(q);
card.classList.toggle(‘mcs-hidden’, !match);
if (match) visibleCount++;
});
// Hide sections with no visible cards
allSections.forEach(function(section) {
const hasVisible = section.querySelectorAll(‘.mcs-formula-card:not(.mcs-hidden)’).length > 0;
section.style.display = hasVisible ? ” : ‘none’;
});
// Hide inline CTAs during search
allInlineCTAs.forEach(c => c.style.display = ‘none’);
if (visibleCount === 0) {
noResults.style.display = ‘block’;
noResultsTerm.textContent = query;
} else {
noResults.style.display = ‘none’;
}
}
searchInput.addEventListener(‘input’, function() { runSearch(this.value); });
clearBtn.addEventListener(‘click’, function() {
searchInput.value = ”;
runSearch(”);
searchInput.focus();
});
// ── TABS FILTER ────────────────────────────────────────────────
document.querySelectorAll(‘.mcs-tab’).forEach(function(tab) {
tab.addEventListener(‘click’, function() {
document.querySelectorAll(‘.mcs-tab’).forEach(t => t.classList.remove(‘mcs-active’));
this.classList.add(‘mcs-active’);
searchInput.value = ”;
clearBtn.style.display = ‘none’;
noResults.style.display = ‘none’;
const filter = this.dataset.filter;
allCards.forEach(c => c.classList.remove(‘mcs-hidden’));
if (filter === ‘all’) {
allSections.forEach(s => s.style.display = ”);
allInlineCTAs.forEach(c => c.style.display = ”);
return;
}
allInlineCTAs.forEach(c => c.style.display = ‘none’);
allSections.forEach(function(section) {
const sectionFilter = section.dataset.section;
section.style.display = sectionFilter === filter ? ” : ‘none’;
});
});
});
// ── COPY BUTTONS ───────────────────────────────────────────────
document.querySelectorAll(‘.mcs-copy-btn’).forEach(function(btn) {
btn.addEventListener(‘click’, function() {
const text = this.dataset.formula || this.closest(‘.mcs-formula-card’).querySelector(‘.mcs-formula-box’).textContent;
navigator.clipboard.writeText(text).then(() => {
this.textContent = ‘✓ Copied!’;
this.classList.add(‘mcs-copied’);
setTimeout(() => {
this.textContent = ‘Copy’;
this.classList.remove(‘mcs-copied’);
}, 2000);
}).catch(() => {
// fallback
const ta = document.createElement(‘textarea’);
ta.value = text;
ta.style.position = ‘fixed’; ta.style.opacity = ‘0’;
document.body.appendChild(ta);
ta.select(); document.execCommand(‘copy’);
document.body.removeChild(ta);
this.textContent = ‘✓ Copied!’;
setTimeout(() => { this.textContent = ‘Copy’; }, 2000);
});
});
});
// ── TOC ACTIVE STATE ───────────────────────────────────────────
const tocLinks = document.querySelectorAll(‘.mcs-toc-link’);
const sections = document.querySelectorAll(‘.mcs-section[id]’);
const tocObserver = new IntersectionObserver(function(entries) {
entries.forEach(function(entry) {
if (entry.isIntersecting) {
tocLinks.forEach(l => l.classList.remove(‘mcs-toc-active’));
const active = document.querySelector(`.mcs-toc-link[href=”#${entry.target.id}”]`);
if (active) active.classList.add(‘mcs-toc-active’);
}
});
}, { rootMargin: ‘-80px 0px -60% 0px’, threshold: 0 });
sections.forEach(s => tocObserver.observe(s));
// ── SCROLL TO TOP ──────────────────────────────────────────────
const scrollTop = document.getElementById(‘mcs-scroll-top’);
window.addEventListener(‘scroll’, function() {
scrollTop.classList.toggle(‘visible’, window.scrollY > 500);
}, { passive: true });
// ── SCROLL REVEAL ──────────────────────────────────────────────
const revealObserver = new IntersectionObserver(function(entries) {
entries.forEach(function(entry) {
if (entry.isIntersecting) {
entry.target.style.opacity = ‘1’;
entry.target.style.transform = ‘translateY(0)’;
}
});
}, { threshold: 0.05 });
allCards.forEach(function(card, i) {
card.style.opacity = ‘0’;
card.style.transform = ‘translateY(16px)’;
card.style.transition = `opacity 0.4s ${(i % 6) * 0.05}s ease, transform 0.4s ${(i % 6) * 0.05}s ease`;
revealObserver.observe(card);
});
// ── KEYBOARD SHORTCUT: focus search on “/” ─────────────────────
document.addEventListener(‘keydown’, function(e) {
if (e.key === ‘/’ && document.activeElement !== searchInput) {
e.preventDefault();
searchInput.focus();
searchInput.scrollIntoView({ behavior: ‘smooth’, block: ‘center’ });
}
});
})();