SnipAudioCut audio

How do you create an iPhone ringtone from a song?

Published 2026-10-03 · by patrick-eu

Short answer: cut the part you want in the audio cutter, save it to the Files app, then open it in GarageBand and share it as a Ringtone. Apple limits ringtones to 30 seconds, and the cut length you type is not always the length of the file you get:

What Apple says

Apple's support article Create a custom ringtone on your iPhone (published 2025-05-22, read 2026-10-03) makes ringtones in GarageBand: you bring an audio file in from the Files app, trim it, then use Share and Ringtone from the My Songs view. The article says ringtones "can be up to 30 seconds long", and that if a ringtone is longer, GarageBand offers to "shorten the ringtone automatically". It does not say which end it shortens.

Apple's GarageBand guide Import audio and MIDI files (read 2026-10-03) lists the audio files it takes: "AIFF, WAV, Apple Loops, AAC, and MP3". It also says an imported file "is converted to a 44.1 kHz sample rate, 16-bit depth format if the original format is different".

A file you download in Safari ends up in the Downloads folder of the Files app, according to Apple's Where to find downloads on your iPhone or iPad (published 2025-12-17, read 2026-10-03). That is where GarageBand's file browser can pick it up.

We did not test GarageBand or a physical iPhone. Everything measured below is about the file the cutter makes.

How we tested

Region length typed vs file length saved

Region (end - start)MP3 file lengthMP3 vs 30 sWAV file length
29.900 s29.936 s63.7 ms under29.900 s
29.950 s29.989 s11.4 ms under29.950 s
29.960 s29.989 s11.4 ms under29.960 s
29.963 s30.015 s14.7 ms over29.963 s
29.970 s30.015 s14.7 ms over29.970 s
30.000 s30.041 s40.8 ms over30.000 s
30.500 s30.537 s537.1 ms over30.500 s
Measured by snipaudio.com, 2026-10-03. Audio cutter exports, decoded with FFmpeg 4.4.2. MP3 lengths were the same at 128 and 192 kbps.

An MP3 file always holds a whole number of frames of 1,152 samples. The cutter's encoder puts 1,105 samples (25.1 ms) of silence before the music and fills the last frame with silence too. So the file grows in steps of one frame (26.12 ms), and it is always a bit longer than the region. A file without a gapless-playback tag, like these, plays all of it, silence included.

The step to the next frame falls between 29.962 and 29.963 s. In Node, with the same encoder, the longest region that kept the file at 1,148 frames (29.989 s) was 1,321,344 samples, which is 29.962 s, at 128, 192, 256 and 320 kbps alike. Typing 29.963 s already adds a frame.

For the 30.000 s MP3, the music itself runs 25.1 ms past the 30 s mark of the file. If something cuts that file at 30.000 s from the start, those last 25.1 ms of music are what goes. We do not know whether GarageBand counts the encoder silence when it checks the length.

WAV has no frames and no encoder silence: every WAV in the test held exactly the samples selected and started the music on the first sample.

File size and phone vs desktop

ExportRegionFile size
MP3 128 kbps29.960 s479,817 bytes
MP3 192 kbps29.960 s719,725 bytes
WAV 16-bit stereo29.960 s5,284,988 bytes
WAV 16-bit stereo30.000 s5,292,044 bytes
Measured by snipaudio.com, 2026-10-03. Stereo 44.1 kHz exports of the Mozart test file from the audio cutter.

The WAV is 7.34 times the size of the 192 kbps MP3. Saving WAV means the cut adds no MP3 compression of its own; saving MP3 means the music is compressed once before GarageBand gets it. We did not check what format GarageBand writes the ringtone in. For how much a single MP3 export loses at each bitrate, see Does cutting an MP3 lose quality?

The 0 to 30 s export with a 2 s fade out, saved at 192 kbps in the iPhone 15 profile, was byte for byte the same as the desktop file (720,979 bytes). The cut is done by the page's own code in the browser, so the screen size does not change the result. We did not run it in Safari.

Step by step

  1. Open the song in the audio cutter in Safari on the iPhone, or on a computer and move the file to iCloud Drive. The file is read in your browser, not uploaded.
  2. Drag the handles or type the start and end so the length shows 29.960 s or less for MP3, or 30.000 s or less for WAV. Press Play region to check it.
  3. Set Fade out to 1 or 2 s so the ringtone does not stop dead each time it repeats. Our Android ringtone test measured how loud the end stays with and without a fade.
  4. Pick WAV (16-bit PCM), or MP3 at 192 kbps or more, and press Download. In Safari, the file goes to Downloads in the Files app.
  5. Follow Apple's GarageBand ringtone steps: bring the file into a track from Files, then Share, Ringtone, Export. The file is then inside Apple's 30 s limit.

Want the ringtone to start on an exact beat? See Can you trim an MP3 to the exact millisecond?

Questions

Do I need an M4R file?

Not for the GarageBand route: Apple's import list is AIFF, WAV, Apple Loops, AAC and MP3, and GarageBand makes the ringtone itself. The cutter saves MP3 or WAV only; it does not write M4R.

Why does the size shown before download not match the file?

For MP3 the page shows an estimate from bitrate times length, counting 1 KB as 1,024 bytes. For WAV the page says the size is exact: it showed 5.13 MB for the 30.500 s region, and the file was 5,380,244 bytes.

Can I use 30.000 s if I pick MP3?

The file will be 30.041 s. Apple says GarageBand shortens a ringtone over 30 s if you tap Continue, but we did not test what it removes. Cutting 29.96 s, or saving WAV, avoids the question.

Continue with the next audio task