These two portables have a lot in common: 88 weighted keys, Bluetooth Audio and MIDI, two headphone jacks (6.3 mm and 3.5 mm), USB, recording and a line output. The FP-30X is the less expensive of the two at list price, so the useful question is what the extra money for the ES-520 actually buys.
On the ES-520's side, the list is short and specific: 40 W (2 × 20 W) into two oval 8 × 12 cm speakers against 22 W (2 × 11 W) into two 12 cm speakers on the FP-30X, a 128 × 64 OLED display, and headphone settings — Kawai lists Spatial Headphone Sound and a headphone-type setting for the ES-520, while Roland's FP-30X specification lists no headphone-specific mode.
On the FP-30X's side: escapement simulation in its PHA-4 Standard action, a larger sound set (56 on the panel, 321 with the Roland Piano App, against 34), 256-note polyphony against 192, and a body 91 mm shallower. The sections below go through each point.
Speakers and Depth
On paper, 40 W against 22 W is close to double. Perceived volume does not rise in proportion to wattage, though, and the figures don't tell you how either piano will sound in your room. If you play mostly through the speakers, listen to both in a shop, playing chords and bass lines through the internal speakers, to check the character of each sound and which you prefer.
Depth is a clearer trade-off: the ES-520 is 375 mm deep without the music rest, the FP-30X 284 mm, so on a narrow desk or in a tight corner the Roland is the easier fit.
Two Actions, Not a Hierarchy
The ES-520 is not a step up in key action over the FP-30X. Kawai uses its Responsive Hammer Compact II and Roland its PHA-4 Standard, and the surfaces differ: ivory-feel keys on the FP-30X, a matte finish on the ES-520 (Kawai keeps its Ivory Touch surface for the ES920). On our spec-based action scale the PHA-4 Standard grades one step higher (7 against 6), but that does not decide which keyboard suits a given player.
Roland specifies escapement simulation for the PHA-4 Standard: a subtle change in resistance when you press a key slowly, meant to evoke the moment a piano hammer is released just before it strikes the string. Kawai lists no such simulation for the RH Compact II.
Whether that let-off point helps you is a personal matter, and the specs cannot tell you which action will be more comfortable for you. If you can try both in a store, do.
Sound Libraries and Connectivity
The FP-30X carries 56 sounds on its panel, and 321 in total once the Roland Piano App is connected, against the ES-520's 34. If you want to explore organ, strings, and ensemble patches, the FP-30X's wider palette gives you more to work with. If you primarily play piano with occasional electric piano, the ES-520 covers that without issue.
Connectivity is nearly identical: both have Bluetooth Audio and MIDI, dual headphone jacks (6.3mm and 3.5mm), USB MIDI, recording, and line-out. The FP-30X also has 30 built-in songs, though it only plays them back (there is no part muting or lesson function), while the ES-520's built-in songs are sound demos only and its lesson books (9 books, 377 pieces) are used through Kawai's PiaBookPlayer app. Neither piano leaves you without a cable-free path to learning apps or a connection to an external amp. The FP-30X's line-out is not an exclusive feature here — the ES-520 has one too. The clearest difference here is the display: the ES-520 has a 128 × 64 OLED screen, while the FP-30X has none. The ES-520 also has the headphone settings mentioned above (Spatial Headphone Sound and a headphone-type setting); Roland lists no equivalent for the FP-30X.
The Decision, Simply
Both pianos work for headphone practice: each has two headphone jacks. Only Kawai lists headphone-specific settings, for the ES-520. Whether they are worth the difference is best judged in a shop with your own headphones.
Choose the ES-520 if, after hearing both, you prefer its sound, want the display, and the 375 mm depth fits your space. Choose the FP-30X if you prefer its keyboard with escapement, want the larger sound set through the Roland Piano App, need the shallower body, or would rather keep the lower price.
If you later want a console piano, both makers have console series — Kawai CN and Roland RP.