keepcalculator

06 Numbers and Powers

Scroll Horizontally with Mouse Wheel by Holding Shift

Card No. 06·65188 · Updated · Standard formula, shown below

Average pace 5.00 min/km
Average speed
12.00 km/h
Result
Finish time
50 min
You entered
Distance
10 km
You entered
You enter
Finish time, Distance
You get
Average pace, Average speed
Rounding
2 dp

Yes, holding the Shift key while rotating the mouse wheel scrolls horizontally in most desktop applications on Windows and many Linux environments. This built-in shortcut works in browsers, file explorers, code editors, and office suites, letting you move left and right without a horizontal scrollbar or trackpad gesture.

Formula

The calculator above is a pace and speed converter. It takes your finish time in minutes and your distance in kilometers, then computes the average pace (minutes per kilometer) and average speed (kilometers per hour). The formulas are:

  • Pace = Finish time (min) ÷ Distance (km)
  • Speed = Distance (km) ÷ (Finish time (min) ÷ 60)

Where:

  • t = finish time in minutes
  • d = distance in kilometers
  • Pace is in minutes per kilometer
  • Speed is in kilometers per hour

Worked Example

Using the defaults: you ran 10 km in 50 minutes.

  1. Pace = 50 ÷ 10 = 5.00 min/km
  2. Speed = 10 ÷ (50 ÷ 60) = 10 ÷ 0.8333 = 12.00 km/h

The calculator displays a pace of 5.00 min/km and a speed of 12.00 km/h.

How the Shift+Wheel Shortcut Works

When you hold Shift and rotate the wheel, the application receives a horizontal scroll event instead of a vertical one. This is part of the standard mouse input protocol on Windows (WM_MOUSEHWHEEL) and is also implemented in most Linux desktop environments (via X11 or Wayland). The operating system translates the wheel delta into a horizontal scroll amount, typically the width of a few characters or pixels.

In practice, the shortcut works in:

  • Web browsers: Chrome, Firefox, Edge
  • File explorers: Windows Explorer, GNOME Files
  • Office software: Microsoft Word, Excel, Google Docs
  • Code editors: VS Code, Sublime Text, Notepad++
  • PDF viewers and image viewers

It does not work in some older applications or in terminals that do not support horizontal scrolling. In those cases, nothing happens or the wheel scrolls vertically as usual.

Why It Sometimes Doesn’t Work

Several factors can break the Shift+wheel shortcut:

  • Application doesn’t support horizontal scroll – Some programs, especially older ones, only handle vertical wheel events.
  • Custom mouse software – Gaming mice or productivity mice with custom drivers may remap the wheel or the Shift key, disabling the default behavior.
  • Operating system settings – Some Linux window managers or accessibility features may intercept the Shift key.
  • Trackpads – On laptops, the trackpad driver may not send the same horizontal wheel event when Shift is held.

If it fails, try these fixes:

  1. Test in a different application (e.g., Chrome vs. Notepad).
  2. Check mouse driver settings – look for “horizontal scroll” or “button remapping”.
  3. On Windows, try using the mouse wheel with Shift in a plain text editor; if it works there, the issue is app-specific.
  4. On Linux, try using the imwheel tool to remap the wheel to horizontal scroll when Shift is held.

Alternatives to Shift+Wheel

If Shift+wheel doesn’t work for you, there are other ways to scroll horizontally:

  • Trackpad gestures – Swipe left or right with two fingers on a laptop trackpad.
  • Horizontal scrollbar – Drag the scrollbar at the bottom of the window.
  • Keyboard shortcuts – Shift+arrow keys often scroll horizontally in lists and tables; Ctrl+Shift+wheel may work in some browsers.
  • Mouse tilt wheel – Some mice have a wheel that tilts left/right to scroll horizontally.
  • Custom software – Tools like AutoHotkey (Windows) or xdotool (Linux) can remap keys to send horizontal scroll events.

Common Misconceptions

A frequent misunderstanding is that Shift+wheel scrolls the page itself horizontally. In most browsers, it actually scrolls the element under the cursor. If your cursor is over a wide table or a horizontally scrollable div, that element will scroll, not the whole page. This is useful but can be confusing when it seems like nothing happens because the element is not scrollable.

Another myth is that you need special software to enable it. On Windows, it is built into the OS and works with any standard mouse. On macOS, the default is different: holding Shift while scrolling with a mouse wheel does not scroll horizontally in most apps. Instead, macOS uses trackpad gestures or you need third-party tools like Scroll Reverser or BetterTouchTool.

How to Enable or Disable It

There is no universal setting to turn Shift+wheel on or off because it is a built-in OS feature. However, you can control it in some contexts:

  • Windows – No native toggle. Some mouse drivers (e.g., Logitech Options) allow you to customize wheel behavior, but the Shift+wheel shortcut is usually fixed.
  • Linux – You can use imwheel to remap the wheel, or change settings in your desktop environment’s mouse preferences.
  • Browsers – Some browser extensions (like “ScrollAnywhere” or “Yet Another Scrollbar Fixer”) can modify wheel behavior, including Shift+wheel.

If you want to disable it because it causes accidental horizontal jumps, you may need to use a macro tool to block the Shift+wheel combination, but that is rarely necessary.

Frequently Asked Questions

Does Shift+wheel work in Excel?

Yes, in Microsoft Excel, holding Shift while scrolling the mouse wheel scrolls horizontally through the spreadsheet. This works in Excel 2010 and later versions, both on Windows and Mac (though on Mac it may require additional setup).

Why does Shift+wheel not work in some games?

Games often capture raw mouse input and do not use the standard Windows scroll events. They may also use Shift for sprinting or other actions, so the wheel is not interpreted as a horizontal scroll. This is normal and not a bug.

Can I make Shift+wheel work on a Mac?

By default, macOS does not support Shift+wheel for horizontal scrolling. You can use third-party utilities like Scroll Reverser or BetterTouchTool to assign a horizontal scroll action to the Shift+wheel combination. Alternatively, use the trackpad’s two-finger swipe.

Is there a way to scroll horizontally without holding Shift?

Yes, many mice have a tilt wheel (press the wheel left or right) that scrolls horizontally. You can also use the keyboard’s Shift+arrow keys in many applications, or use a trackpad with a two-finger swipe.

Does Shift+wheel work in all browsers?

It works in Chrome, Firefox, Edge, and Opera. Safari on macOS does not support it natively. In all browsers, it scrolls the element under the cursor, not necessarily the whole page.

Related

Formula used
in t | Finish time | min | 50 | 0
in d | Distance | km | 10 | 0 | 100000
out pace | Average pace | min/km | t / d | 2
out speed | Average speed | km/h | d / (t / 60) | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →