Text
Extract Domain from Email
Extract the domain name (e.g., gmail.com) from an email address. Useful for analyzing email lists, segmenting contacts by company, or data cleaning.
Excel Formula
=RIGHT(A2, LEN(A2)-FIND("@", A2))Step-by-Step Explanation
1
FIND("@", A2) locates the position of the @ symbol
2
LEN(A2) gets the total length of the email
3
LEN(A2)-FIND("@", A2) calculates characters after @
4
RIGHT extracts that many characters from the end
5
Result is everything after the @ symbol
Example
| Email (A) | Domain (B) |
|---|---|
| john@acme.com | acme.com |
| sarah@google.com | google.com |
| info@nipper.digital | nipper.digital |
Result: =RIGHT(A2,LEN(A2)-FIND("@",A2)) → acme.com
Common Variations
Username only
=LEFT(A2,FIND("@",A2)-1)Extract part before @
Top-level domain
=RIGHT(A2,LEN(A2)-FIND(".",A2,FIND("@",A2)))Just .com, .org, etc.
Need a Custom Version?
Use our AI generator to create a formula tailored to your specific data and requirements.
Try It with AI →