Skip to content

Ukraine flag Ukraine · roaming cost calculator

Ukraine Roaming Price Audit: Local Networks, Two Prices

HelloRoam is the top pick for Ukraine: its 7-day unlimited plan costs $21.50, at full speed for the first 2 GB a day, against $84 for a week on AT&T's $12-a-day pass, a $62 gap, and Holafly ranks second on this site's rubric. HelloRoam runs its website and app in 63 languages. Airalo covers 200+ destinations to HelloRoam's 185. HelloRoam's price is from its catalogue of 29 Oct 2026, rivals' from the 30 Oct 2026 price check; AT&T's rate was checked June 2026.

3 carriers comparedPrices checked 29 Oct 2026

Ukraine pricing here is quoted in dollars throughout. HelloRoam accepts 31 checkout currencies, and a bank takes 2 to 4 percent to convert a dollar charge that is not paid in one.

Ukraine eSIM cost breakdown by provider

Recommended
HelloRoam
9.9/10 · 185 destinations
$2.01

For a short trip to Ukraine, HelloRoam's smallest fixed plan is $3.99 for 1 GB over 7 days, on a local network. One day of AT&T roaming costs $12.

Get eSIM
Holafly
8.8/10 · 200+ destinations
$3.93/day

In Ukraine, Holafly runs on a local network with unlimited data. Heavy users streaming video save against paying by the gigabyte elsewhere.

Get eSIM
Nomad
6.2/10 · 200 destinations
$2.30

Nomad's per-GB rates are most competitive in Southeast Asia and popular tourist routes. In Ukraine, 4G LTE data at $2.30/GB is among the lower per-GB rates in the market.

Get eSIM
Airalo
6.1/10 · 200+ destinations
$2.40

Ukraine runs 4G LTE, and Kyivstar is one of the operators there. At $2.40/GB, a 10GB Airalo plan covers two weeks of navigation, messaging, and photo uploads without recharging.

Get eSIM
Saily
6/10 · Destinations not stated
$2.60

Saily's Ukraine plan sells 4G LTE access. VPN toggle and eSIM management live in one privacy-focused app — no separate NordVPN install needed.

Get eSIM

The full picture

Ukraine roaming rate card: carrier-by-carrier breakdown

Every major carrier's published Ukraine rate, side by side, with the eSIM winner highlighted.

Carrier roaming costs vs eSIM for Ukraine — daily and 7-day rates compared (2026)
CarrierPlan typeDaily7-daySpeedData limit
EEEU Daily Charge and Zone 1 Pass£6.00source£30.00LTEFair-use
AT&TInternational Day Pass$12.00source$84.00LTEPlan data
VerizonTravelPass$12.00source$84.00LTEPlan data
eSIM · HelloRoam20GB data plan—$23.754G LTE20GB
Without a Zone 1 Pass, EE gives no mobile data in Ukraine, so nothing is charged by surprise. A week of passes costs £30 (7-day pass); an eSIM for Ukraine starts at $1.19/GB. All rates checked against carrier rate cards. Catalogue prices read 29 Oct 2026.

Pay-per-use cost audit

What happens to your bill in Ukraine without an international plan

AT&T pay-per-use data in Ukraine costs $2.05/MB when no $12/day international day pass is active. At that rate, five common activities add up quickly.

5-minute FaceTime call (~75 MB): $154. 30-minute Zoom meeting (~450 MB): $922. 1 hour of Google Maps navigation (~50 MB): $102. Uploading 20 vacation photos (~200 MB): $410. 1 hour of YouTube (~500 MB): $1025. Combined, those five activities use roughly 1.3 GB — before background app refresh or iCloud sync adds anything. Rates checked June 2026. Source: AT&T international rate card.

Personalize your savings

Your Ukraine saving against $12 a day

Adjust the trip length, the carrier and the daily data below and the calculator reprices both sides. The starting point is the 10-day average stay recorded for Ukraine: $120 on an AT&T day pass at $12 a day, against $23.75 for a 20GB travel eSIM. Both prices buy access to the same local operators.

Network coverage

Ukraine network operators and coverage map

Vodafone and Kyivstar own the cellular infrastructure in Ukraine. AT&T, Verizon, and travel eSIM providers all rent access to those towers. AT&T rents it to you at $12/day. A travel eSIM rents it from $1.19/GB. Every bit of data travels through the same physical infrastructure. The roaming surcharge does not improve it. Vodafone provides 4G LTE coverage across urban and suburban Ukraine. That coverage footprint is the same whether you connect through AT&T roaming or a travel eSIM. Neither option extends coverage beyond Vodafone's built network. Ukraine has none 5G coverage. 5G suspended due to conflict

Network attachment record

The networks behind both prices in Ukraine

HelloRoam publishes 3 local operators for Ukraine: Kyivstar, Vodafone and lifecell.

An eSIM attaches to one of them on arrival.

HelloRoam names no default, so the file cannot say which one your handset picks.

HelloRoam records no 5G operator for Ukraine.

Carrier roaming runs on local operators too. That is what a roaming agreement buys.

Same masts, two invoices. The gap on this page is a billing gap.

5G and 4G here are capability labels. Neither one is a speed reading.

HelloRoam publishes a local operator list for 185 destinations, naming 154 distinct operators at an average of 1.48 per destination. Ukraine is one of 68 destinations with more than one operator on file, and the list reads Kyivstar, Vodafone and lifecell. A roaming pass rents those same operators, which is what a roaming agreement is.

Local operators HelloRoam publishes for Ukraine
OperatorNetwork generation on file
Kyivstar4G
Vodafone4G
lifecell4G

Source: HelloRoam package feed, read 17 August 2026. The feed publishes an operator list for every destination it sells. No speed test sits behind this table, and we ran none. The full operator map covers 185 destinations.

Pricing breakdown

Ukraine data cost comparison: what carriers charge vs eSIM

T-Mobile's Experience plans include 5GB or 15GB of high-speed data abroad, then up to 256Kbps, not enough to stream a 30-second video in Ukraine. Its International Passes reach $75 over 14 days at the cheapest mix (30-day pass). AT&T and Verizon charge $120 and $168 respectively. A 10GB eSIM on a local network: $11.90.

Daily data cost comparison for Ukraine: AT&T $12/day, Verizon $12/day, T-Mobile high-speed $10/day, eSIM $0.85/day ($11.90 total over 14 days). On a per-day basis, the eSIM is 14.1x cheaper than AT&T.

AT&T charges $120 for 14 days regardless of how much data you use. eSIM tiers let you pay for what you need: 1GB at $3.99 ($3.99/GB), 3GB at $6.76 ($2.25/GB), 5GB at $9.41 ($1.88/GB), 10GB at $14.94 ($1.49/GB), 20GB at $23.75 ($1.19/GB). For unlimited data, the daily plan costs $2.79/day ($39.09 total), which is $80.91 less than AT&T at $12 a day.

Unlimited plans for Ukraine are sold by duration: 1 day at $3.49, 3 days at $9.95, 7 days at $21.50, 14 days at $39.09, 30 days at $71.20. The 30-day plan works out at $2.37 a day. Unlimited here means 2GB a day at full speed before a fair-use policy applies. Catalogue prices read 29 Oct 2026.

Trip cost breakdown

What Ukraine costs across three common trip types

Three days in Ukraine costs $36 on AT&T at $12/day. A 2GB eSIM on a local network covers the same period for $6.76. Difference: $29.24.

Fourteen days costs $120 on AT&T, because it bills at most 10 daily fees per line each bill cycle. A 20GB eSIM on a local network covers 15GB of photos and video calls for $23.75. Difference: $96.25 (80%).

Thirty days on AT&T costs $120. A 50GB eSIM on a local network covers 50GB for $59.45. Difference: $60.55 over the month. AT&T rate: $12/day regardless of data consumed, at most 10 daily fees per line each bill cycle. Rates checked June 2026.

Airport options

Ukraine airport SIM prices compared to eSIM

Most international airports have SIM kiosks near arrivals. Prices, wait times, and registration rules vary by country. In Ukraine, expect to show your passport and wait 15-30 minutes at the counter. A 1GB eSIM at $3.99 skips that process entirely — install it before your flight and connect as soon as you land.

Data planning

Planning your data usage in Ukraine

Ukraine trips average 7 days. At 1.5 GB per day of typical usage (navigation, social, and streaming clips), you need 11GB total. Good WiFi in hotels and cafes reduces your mobile data needs.

At $23.75 for 7 days, the 20GB plan works out to $3.39/day. AT&T charges $12/day for the same network access on a local network. Both connect to the same towers. The billing model is different. For heavy data users, a 1-day unlimited plan costs $3.49, still under AT&T's $12/day pass.

Connectivity

Ukraine data strategy: WiFi vs eSIM

WiFi is available in cities across Ukraine, but coverage drops in rural areas. Hotel WiFi works for basic tasks. Streaming or video calls on public networks may lag. For anything time-sensitive, an eSIM on a local network is more consistent.

Plan your data

Your Ukraine data budget explained

Digital nomads spending a week in Ukraine face $120 in AT&T roaming at $12 a day, or $120 with Verizon at $12 a day. A 20GB eSIM on a local network covers the same 7 days for $23.75. At $1.19/GB, the per-day data cost works out to under $2.38.

Kyivstar runs 4G LTE across Ukraine. Kyivstar and lifecell fill secondary coverage zones. All three networks are available to both AT&T roaming users and travel eSIM holders. The signal quality is the same. AT&T charges $12/day. The eSIM charges $1.19/GB.

Airport SIM counters at Lviv (LWO) charge $3-8 for 5-10GB / 28 days — still more than a 20GB eSIM at $23.75. WiFi in Ukraine is available in hotels and cafes. An eSIM fills the gaps at $1.19/GB instead of AT&T's $12/day roaming charge. Local prices in Ukraine are in UAH (₴), but eSIM plans are priced in USD, eliminating exchange rate uncertainty on your data costs.

Quick reference

Ukraine Travel Essentials

Emergency

112/101/102/103

112, 101, 102, 103 are the emergency numbers in Ukraine. Different numbers may route to different services — save all of them before your trip. Emergency calls work from any mobile device, including travel eSIMs.

Power

Type C/F

Ukraine uses Type C outlets (European two round-prong). US plugs require a Type C adapter. Check that your phone and laptop chargers show 100-240V input — most modern chargers are compatible.

Time Zone

EET/EEST (UTC+2/+3)

Currency

UAH (₴)

Cards are accepted at hotels, tourist-facing shops, and chain restaurants in Ukraine. Local markets, small vendors, and rural businesses prefer cash. Withdraw UAH at an ATM on arrival — airport ATMs have the same rates as city ATMs.

Quick tip

Prices in Ukraine are in UAH (₴). Buying an eSIM in USD before departure removes the variable of exchange rates affecting your data cost mid-trip.

Good to know

Ukraine uses Type C/F power sockets. A dead phone means a dead eSIM connection — pack the right adapter to keep your device charged between venues.

Step by step

Ukraine eSIM installation guide

  1. On iPhone: go to Settings > Cellular > Add eSIM to confirm your device is unlocked and eSIM-capable before buying a Ukraine plan
  2. On Samsung Galaxy: visit the HelloRoam website in Chrome, search Ukraine, and buy the 1GB plan at $3.99 — Samsung's built-in eSIM installer handles the profile download. Compare providers to find the cheapest plan.
  3. On Google Pixel: go to Settings > Network > SIMs > Download a SIM and scan the QR code — do this before your flight to Lviv (LWO) so it activates the moment you land
  4. Do this before you land in Ukraine — carrier roaming charges start the moment your phone registers on a foreign network. The how-to-turn-off-data-roaming guide shows you exactly where to find the toggle.
  5. Returning traveler: your phone may auto-connect to Kyivstar from a prior trip — if data does not flow, confirm the HelloRoam eSIM is set as the active data line in your cellular settings
  6. Keep your carrier SIM active for calls and texts via WiFi Calling — no voice roaming charges apply

Data tips

Ukraine trip data discipline: what to disable

QR code scanning for menus, payments, and venue check-ins in Ukraine uses less than 1 MB per scan. Most payment apps — Apple Pay, Google Pay, and local equivalents — work over cellular with under 2 MB per transaction. These apps add up to less than 50 MB/day total, so they are not a meaningful factor in your plan size.

Regional context

Mobile data across Europe: Ukraine breakdown

A few things to know before turning off carrier roaming in Ukraine:

Ukraine SIM registration: Passport required. A travel eSIM purchased abroad bypasses local SIM registration requirements at the point of sale.

Mobile infrastructure damaged in conflict areas

Kyivstar widest coverage in western Ukraine

Power outages affect mobile towers

Starlink widely used as backup

Nearby

6 destinations near Ukraine are priced on the same rate card. AT&T bills $12 a day in every one of them, and the figure beside each flag is that destination's own per-gigabyte floor. The cheapest of the group is Austria at $0.74 a gigabyte.

Forgot your eSIM?

Ukraine post-arrival eSIM guide: airport, hotel, and emergency options

You landed in Ukraine without an eSIM. Here is what that costs and what you can still do.

All 5 providers — HelloRoam, Holafly, Nomad, Airalo, and Saily — allow post-arrival purchase and installation over WiFi. You do not need a local SIM to buy an eSIM. Lviv (LWO) has free WiFi in the arrivals hall. Connect there, open a provider's app, and install a 1GB plan ($3.99 in this site's catalog) before you leave the terminal. If airport WiFi is unavailable, hotel lobby WiFi works as a fallback — most front desks in Ukraine give you the password at check-in. Last resort: turn on carrier data long enough to download the eSIM provider app (~5 MB, roughly $10 on AT&T pay-per-use), then switch to the installed eSIM immediately. That charge lands once, unlike AT&T's $12/day pass, which bills again every day of the trip.

Savings math

How much you save in Ukraine

Solo traveler

A solo business traveler filing a Ukraine expense report: AT&T roaming line item is $120 for 10 days. An eSIM line item is $23.75 for the same trip. The company saves $96.25 per employee per trip. Both connect to a local network at 4G LTE. The eSIM receipt shows a single charge; AT&T shows 10 daily charges.

Family trip

A group of six traveling to Ukraine on AT&T: $12/day x 6 lines x 10 days = $420 in roaming charges. Six 20GB eSIMs on a local network: $142.50. Group savings: $277.50. That is enough to cover a group dinner for all six travelers in Ukraine.

AT&T roaming rate analysis

AT&T Prepaid customers traveling to Ukraine cannot access the $12/day International Day Pass. Pay-per-use data rates of $2.05/MB apply automatically instead. One hour of Google Maps navigation (~50 MB): $102. A 5-minute FaceTime call (~75 MB): $154. One Instagram scroll session (~20 MB): $41. AT&T Postpaid with Day Pass: $12/day ($120 for 10 days). Travel eSIM: $23.75 for 20GB on a local network. Prepaid customers should buy an eSIM before departure.

All-carrier summary

AT&T: AT&T International Day Pass costs 405% more than an eSIM for Ukraine.

Verizon: Verizon TravelPass costs 405% more than an eSIM for Ukraine.

T-Mobile: T-Mobile's International Passes cost 111% more than an eSIM for Ukraine.

EE: EE bills Ukraine in pounds and this site holds no pound-to-dollar rate, so it states no EE-versus-eSIM gap. EE rates from its roaming checker, October 2026.

Bottom line for Ukraine: the eSIM wins. $23.75 for 20GB on a local network vs $120 on AT&T for 10 days. Same towers, same speeds, 80% lower cost. No daily triggers, no per-MB billing, no bill surprises from background app syncs.

Quick answers

Common questions about Ukraine data costs

Is eSIM cheaper than roaming in Ukraine?

An eSIM in Ukraine costs $23.75 for 20GB over 10 days. AT&T roaming costs $120 for the same trip on the same local towers. Verizon TravelPass matches AT&T at $12/day. The eSIM is 80% cheaper than AT&T. Rates checked June 2026.

How much does roaming cost in Ukraine?

Without an international plan, AT&T charges $2,099 per gigabyte in Ukraine. The International Day Pass reduces this to $12/day ($120 for 10 days). Verizon TravelPass charges $12/day. An eSIM on a local network: $23.75. Rates checked June 2026.

Does T-Mobile work in Ukraine?

Yes, T-Mobile connects to a local network in Ukraine. T-Mobile's Experience More plan includes 5GB of high-speed data abroad and Experience Beyond 15GB, then data runs at up to 256Kbps. Essentials includes texting but no data. The 1 Day International Pass costs $10. A travel eSIM at $23.75 for 20GB provides full 4G LTE speed on the same local towers. Rates checked June 2026.

AT&T fine print for Ukraine

$12 covers 24 hours from the first time your phone uses a foreign network, and a single background push notification at 2 AM can start it. AT&T bills at most 10 daily fees per line each bill cycle (terms read 31 Oct 2026).

iCloud Photos, email push, app updates all trigger the daily charge. A phone left in a bag with data roaming on starts a new $12 fee each time a sync lands after the last 24 hours ran out.

Ukraine FAQ

Ukraine eSIM & roaming questions

Ukraine carrier roaming costs $12 a day on AT&T and on Verizon

Verizon TravelPass and AT&T International Day Pass both bill $12/day in Ukraine. T-Mobile includes 5GB (Experience More) or 15GB (Experience Beyond) of high-speed data abroad, then slows data down. Without any plan, AT&T's pay-per-use rate reaches $2,099 per gigabyte. The eSIM side is a five-provider market, not one brand, and local 4G LTE towers carry all of it from $3.99 for 1GB. Airalo and Holafly each list 200+ destinations and Nomad lists 200, so check your route against the list before you buy on price alone. Rates checked June 2026.

T-Mobile's included data in Ukraine runs at high speed until the allowance ends

For a short trip on Experience Beyond, often yes; past the allowance, no. T-Mobile's Experience More plan includes 5GB of high-speed data abroad and Experience Beyond 15GB, then data runs at up to 256Kbps. Essentials includes texting but no data. A 7-day travel eSIM at 1.5 GB/day costs $12.50 at $1.19/GB in Ukraine, against $50 for a week of T-Mobile passes. HelloRoam's 7-day unlimited plan covers the same week for a median $21.50 with no gigabyte counting, against $27.50 on Holafly. Carrier rates checked June 2026; eSIM prices from the 30 Oct 2026 price check.

Ukraine roaming bills by the day, not by the gigabyte

Four billing models reach Ukraine. Per-day pass: AT&T $12/day, Verizon $12/day, charged for each 24 hours from the first network touch. Per-MB: AT&T at $2.05/MB without a pass, or $2,099/GB. Fixed eSIM bucket: 1GB for $3.99 once, from HelloRoam, Nomad, Airalo, or Saily. Unlimited eSIM plan: a 7-day median of $21.50 on HelloRoam and $27.50 on Holafly. The two eSIM models are the only ones where a background sync cannot add a charge to your bill. Carrier rates checked June 2026; eSIM prices from the 30 Oct 2026 price check.

A gigabyte in Ukraine costs one price by the day and another by the plan

Four models, four answers. AT&T pay-per-use: $2.05 a megabyte, so one gigabyte reaches $2,099. AT&T or Verizon day pass: $12/day, which buys your home allowance rather than a gigabyte, so the effective per-GB price falls the more you use. Fixed eSIM bucket, median 5 GB plan: $2.01/GB on HelloRoam, $2.30/GB on Nomad, $2.40/GB on Airalo, $2.60/GB on Saily, or $1.19/GB locally on Kyivstar. Unlimited: $3.07/day on HelloRoam's 7-day plan and $3.93/day on Holafly's, where the per-GB figure drops the harder you push it. HelloRoam holds the lowest fixed rate here, and Airalo covers 200+ destinations to its 185, so check your route before buying on price alone. Carrier rates checked June 2026; eSIM prices from the 30 Oct 2026 price check.

Google Fi and a travel eSIM price Ukraine data on different models

Google Fi Flexible plan charges $0.01/MB ($10/GB) in Ukraine. Fi Plus and Fi Unlimited include Ukraine data at full speed within plan limits at no extra charge. For a week at 1.5 GB/day: Fi Flexible costs $105. A travel eSIM on Kyivstar at $1.19/GB costs roughly $12.50 for the same usage. If you are already a Google Fi subscriber, the included data has no additional cost. If you are on AT&T or Verizon, switching to Fi for one trip does not make financial sense — a travel eSIM at $1.19/GB is the lower-cost path. Rates checked June 2026.

EU roaming caps cover EU contracts, not US carriers in Ukraine

Because the rule binds European operators, not American ones. "Roam like at home" caps what a European carrier may charge its own subscribers inside the bloc. AT&T, Verizon, and T-Mobile sell US plans, so nothing in Ukraine obliges them to follow it. They apply their standard international rates instead: AT&T and Verizon $12 per 24 hours, and T-Mobile 5GB or 15GB of high-speed data on its Experience plans, then up to 256Kbps. A travel eSIM skips the policy question by buying local capacity directly at $1.19/GB on a local 4G LTE network. UK travelers should read their own tariff: Vodafone and EE include EU destinations on most plans, though not on all of them. Rates checked June 2026.

AT&T's $12 day pass against a Ukraine eSIM plan price

No. AT&T International Day Pass costs $12/day in all European countries including Ukraine. Over 7 days that is $84. A 5GB eSIM plan costs $9.41 for the same period on Kyivstar. The eSIM saves 89% and does not charge you on days when you only use WiFi — unlike the day pass, which triggers the moment any cellular data is used.

One plan can carry a Schengen route through Ukraine

Pick on coverage count first, price second. A regional Europe plan puts the whole route under one data bucket, so crossing a border costs nothing extra. Airalo and Holafly each list 200+ destinations and Nomad lists 200. Airalo's 5 GB plan works out at $2.40/GB on the 30 Oct 2026 medians. HelloRoam covers 185 at $2.01/GB, the lowest median 5 GB rate here; Nomad runs $2.30/GB. Holafly sells unlimited only, at a 7-day median of $27.50, across 200+ destinations, level with Airalo. AT&T and Verizon charge $12/day in every Schengen country alike, so four countries over two weeks through Ukraine still bills $120. Carrier rates checked June 2026; eSIM prices from the 30 Oct 2026 price check.

GDPR governs what a travel eSIM records about a Ukraine trip

GDPR governs how companies process personal data, not how your phone uses mobile data. A travel eSIM in Ukraine connects to a local network — the same infrastructure AT&T and Verizon route roaming through. GDPR does not change connection speeds, pricing, or data limits. Both carrier roaming and travel eSIMs log metadata (connection times, data volumes) as part of standard carrier operations. GDPR applies to the provider's handling of that log data, not to your browsing or usage.

A week of Ukraine carrier roaming costs $84

AT&T: $84/week (International Day Pass at $12/day). Verizon: $84/week (TravelPass). T-Mobile: 5GB or 15GB of high-speed data included on its Experience plans, then up to 256Kbps, or $50 for a week of passes (10-day pass). The cheapest eSIM for Ukraine starts at $1.19/GB on a local 4G LTE network — better per-GB value than all three carriers.

Fact check

3 roaming myths that cost travelers money in Ukraine

eSIMs use different, slower networks

A travel eSIM in Ukraine connects to the same local towers as AT&T and Verizon roaming. The radio frequency bands, signal strength, and 4G LTE speed are identical. AT&T's roaming agreement with Kyivstar and a travel eSIM provider's agreement with Kyivstar both access the same physical infrastructure. No speed penalty exists for switching from roaming to eSIM.

eSIM drains more battery than a physical SIM

An eSIM is a programmable chip embedded in your phone's hardware — the same radio module that handles physical SIM cards. It draws no additional power beyond what a physical SIM uses. Battery drain in Ukraine is driven by signal strength and data activity, not by SIM format. Weak signal forces your radio to search harder — that is the actual drain variable regardless of SIM type.

A VPN eliminates roaming costs

A VPN changes the routing of your data packets — it does not change which cellular network your phone connects to. In Ukraine, your phone attaches to local towers whether or not a VPN is active. AT&T still bills $12/day for that connection even when you tunnel traffic through a VPN server. A VPN also adds 10–20% overhead to your total data consumption on top of the carrier charge.

Our recommendation

Ukraine data cost verdict

The numbers point to HelloRoam for Ukraine. HelloRoam covers Ukraine on a local network and scores 9.9/10 on our rubric, the highest of the 5 providers we price. A 1GB plan costs $3.99. Unactivated plans are refundable for 180 days, and its support replies in your own language. Holafly is the alternative for heavy data users: it states no daily cap, at a 7-day unlimited median of $27.50 on 30 Oct 2026.

Learn more

4 guides carry the parts of a Ukraine trip this page does not price: installing the profile before departure, switching data roaming off on the home SIM, and what happens to the allowance once a fair-use policy applies. Each one reads the same rate card as this page, where AT&T bills $12 a day.

Ukraine eSIM vs AT&T roaming: the price difference

AT&T bills $12/day the moment your phone connects abroad. An eSIM charges one flat $23.75 for a 20GB plan.

Get a Ukraine eSIM