Everyday Tools
Search

Guides

Short, practical explanations behind the tools — the formulas, the reasoning, and the common mistakes to avoid.

How to Calculate a Percentage

Percentages show up everywhere — discounts, grades, statistics, tips. This guide covers the three most common percentage questions and the formula behind each.

How to Calculate Percentage Increase

Percentage increase measures how much a value has grown, expressed as a fraction of its starting point — useful for salaries, prices, and performance metrics.

How to Calculate Percentage Decrease

Percentage decrease measures how much a value has dropped, expressed as a fraction of its starting point — common for price drops, weight loss, or performance decline.

How to Calculate a Discount

Working out a sale price is simple once you know the formula — and knowing how stacked discounts actually combine can save you from overestimating your savings.

What Is BMI and How to Calculate It

Body Mass Index (BMI) is a simple ratio of weight to height used as a quick screening tool for weight categories — it's not a diagnosis, but a starting point.

Simple vs Compound Interest: What's the Difference?

Simple and compound interest sound similar but produce very different results over time — the difference is whether interest earns interest of its own.

How to Calculate Your Exact Age

Calculating age sounds trivial — subtract the birth year from the current year — but that only works if the birthday has already happened this year.

What Is JSON and How to Format It

JSON (JavaScript Object Notation) is a lightweight, text-based format for structuring data — used everywhere from API responses to config files.

What Is Base64 Encoding?

Base64 is a way of representing binary data as plain ASCII text — useful whenever a system can only safely handle text, not raw bytes.

Why and How to URL Encode Text

URLs can only safely contain a limited set of characters — URL encoding (percent-encoding) converts everything else into a safe, unambiguous form.

What Is a UUID?

A UUID (Universally Unique Identifier) is a 128-bit value used to identify something — a database row, a session, a file — without needing a central authority to hand out unique numbers.

How to Write a Good Meta Title

Your meta title is the first thing people see in search results — it needs to fit Google's display limit and give someone a real reason to click.

How to Write a Good Meta Description

A meta description doesn't directly affect rankings, but it's your pitch to searchers — a good one earns clicks; a bad one (or none at all) leaves them guessing.

How to Create a Good URL Slug

A URL slug is the readable part of a web address that identifies a specific page — a clean slug helps both users and search engines understand what a page is about at a glance.

Celsius to Fahrenheit: How the Conversion Works

Celsius and Fahrenheit don't share a zero point, which is why converting between them needs both a multiplication and an offset — not just a simple ratio like most unit conversions.

Metric vs Imperial: Common Length Conversions

Metric and imperial length units coexist in everyday life — recipes, DIY projects, road signs, and international specs often mix the two, so knowing the key conversions helps.

How to Calculate GPA

GPA (Grade Point Average) summarizes your academic performance as a single number by weighting each course's grade by how many credit hours it's worth.

Gross vs Net Salary: What's the Difference?

Gross and net salary are often confused, but the gap between them — taxes and social contributions — is usually the single biggest factor in what actually lands in your bank account.

Comment calculer l'indemnité de licenciement

L'indemnité légale de licenciement est un minimum garanti par le Code du travail — voici comment elle se calcule, étape par étape.

Comment calculer son impôt sur le revenu

L'impôt sur le revenu en France utilise un barème progressif par tranches, ajusté par le quotient familial — voici comment ça fonctionne concrètement.

How to Find the GCD and LCM of Two Numbers

GCD and LCM are two related ways of describing how two numbers relate to each other — one finds their largest shared factor, the other their smallest shared multiple.

How to Check If a Number Is Prime

A prime number has exactly two divisors — 1 and itself. Here's the fastest manual method for checking, and why it works.

What Is a Hash and How Does It Work?

A hash function takes any input and produces a fixed-length string of characters — the same input always produces the same hash, but you can't reverse it back to the original.

HEX vs RGB Color Codes Explained

HEX and RGB are two ways of writing down the exact same color information — one is more compact, the other more human-readable for each color channel.

How Regular Expressions Work (A Beginner's Guide)

A regular expression (regex) is a pattern that describes text to search for — instead of matching an exact string, it matches a shape of text.

What Is a Leap Year and Why Does It Exist?

A leap year adds an extra day (February 29) to keep our calendar synchronized with Earth's actual trip around the sun.

JPG vs PNG vs WebP: Which Should You Use?

The three most common web image formats each make different trade-offs between file size, quality, and features — picking the right one matters for both page speed and image quality.

How to Compress an Image Without Losing Much Quality

Most of a large image's file size can be trimmed with almost no visible quality loss, if you approach it in the right order.

What Is a Favicon and How Do You Create One?

A favicon is the small icon shown in a browser tab, bookmark list, and (on mobile) home screen shortcut for a website.

How to Check Keyword Density (and Why It Matters Less Than You Think)

Keyword density measures how often a word or phrase appears relative to a page's total word count — once treated as an SEO secret, it's now a minor signal at best.

What Is a Canonical URL?

A canonical URL tells search engines which version of a page is the "real" one when several URLs show the same or very similar content — preventing duplicate-content confusion and split ranking signals.

What Is a Sitemap?

A sitemap is a file that lists a website's pages so search engines can discover and crawl them more efficiently, especially on large or newly-launched sites.

What Is Robots.txt?

robots.txt is a plain-text file at the root of a domain that tells well-behaved web crawlers which parts of a site they may or may not crawl.

How to Calculate Loan Payments

A fixed-rate loan's monthly payment can be calculated directly from the loan amount, interest rate, and term using the standard amortization formula.

How to Convert Kilograms to Pounds

Kilograms and pounds are the two most common weight units worldwide — converting between them comes up constantly in shipping, fitness, and cooking.

How to Convert Miles to Kilometers

Miles and kilometers are the two most common distance units worldwide — converting between them matters for travel, running, and driving directions.

How to Calculate Freelance Rates

A freelance hourly rate needs to cover more than take-home pay — it has to account for unbillable hours, business expenses, and taxes that an employer would otherwise absorb.

Calculateurs de Salaire et Paie au Maroc

EverydayTools propose des calculateurs gratuits pour la paie au Maroc : conversion salaire brut/net, cotisations CNSS et AMO, impôt sur le revenu, coût employeur, indemnité de licenciement et délai de préavis. Tous les calculs utilisent les règles et le barème 2026, et affichent clairement le pays, l'année et les hypothèses retenues.

Comment Fonctionne la CNSS au Maroc

La CNSS (Caisse Nationale de Sécurité Sociale) gère les cotisations sociales des salariés du secteur privé au Maroc — prestations sociales, allocations familiales et taxe de formation professionnelle.

Qu'est-ce que l'AMO au Maroc ?

L'AMO (Assurance Maladie Obligatoire) couvre les frais de santé des salariés marocains et de leurs ayants droit. C'est une cotisation distincte de la CNSS, avec ses propres taux et sans plafond.

Comment Calculer l'Impôt sur le Revenu au Maroc

L'impôt sur le revenu (IR) sur les salaires au Maroc est prélevé à la source par l'employeur, selon un barème progressif par tranches, après déduction des frais professionnels et de la charge de famille.

Comment Calculer l'Indemnité de Licenciement au Maroc

L'indemnité légale minimale de licenciement au Maroc est fixée par l'article 53 du Code du travail, selon un barème progressif en heures de salaire par année d'ancienneté.

Comment Fonctionne le Préavis au Maroc

Le délai de préavis au Maroc est encadré par le Code du travail et varie selon la catégorie professionnelle du salarié et son ancienneté dans l'entreprise.

Comment Calculer les Heures Supplémentaires au Maroc

Le Code du travail marocain prévoit des majorations différentes selon le moment où les heures supplémentaires sont effectuées — un point souvent mal compris qui peut conduire à sous-estimer le montant réellement dû.

Comment Calculer les Congés Payés au Maroc

Le droit au congé annuel payé au Maroc dépend de l'ancienneté du salarié dans l'entreprise, avec un bonus qui s'ajoute progressivement au fil des années de service.

How to Test a REST API Online

Testing a REST API means sending it an HTTP request and checking whether the response matches what you expect — you don't need to install anything to do this; a browser-based REST client works for most everyday cases.