XML 18 R7.htm IDEA: XBRL DOCUMENT
v3.25.4

Consolidated Statement of Changes in Shareholders' Equity (Parenthetical) - $ / shares | 12 Months Ended
--- | ---
Dec. 31, 2025 | Dec. 31, 2024 | Dec. 31, 2023
Cash dividends per share | $ 1.49 | $ 1.48 | $ 1.45
Common Stock [Member] |  |  |
Acquisition of Piedmont Bancorp, Inc., shares | 7,860,831 |  |
Stock grant forfeiture, shares | 16,682 | 9,413 | 8,295
Cash dividends per share | $ 1.49 | $ 1.48 | $ 1.45
Net issuance of common stock under stock-based compensation plans | 301,352 | 437,170 | 246,086
Treasury Stock [Member] |  |  |
Termination of management stock bonus plan, shares | 8,811 |  |
Purchase of treasury stock, shares | 3,603,071 | 30,192 | 33,850

X
- Definition Number of shares of restricted stock awards forfeited during the period. + References No definition available. + Details
Name: | ubsi_ForfeitureOfNonVestedRestrictedStockShares
Namespace Prefix: | ubsi_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of common shares acquired during the period related to the termination of a management stock bonus plan. + References No definition available. + Details
Name: | ubsi_StockAcquiredDuringPeriodSharesStockbonusPlan
Namespace Prefix: | ubsi_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares issued during the period as a result of the exercise of stock options, the grant of restricted stock awards and the vesting of restricted stock units. + References No definition available. + Details
Name: | ubsi_Stockissuedduringperiodsharesissuanceofcommonstockunderstockbasedcompensationplan
Namespace Prefix: | ubsi_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Aggregate dividends paid during the period for each share of common stock outstanding. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480008/505-10-S99-1 + Details
Name: | us-gaap_CommonStockDividendsPerShareCashPaid
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares of stock issued during the period pursuant to acquisitions. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480008/505-10-S99-1 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesAcquisitions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares that have been repurchased during the period and are being held in treasury. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 2 -SubTopic 10 -Topic 505 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481112/505-10-50-2 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480008/505-10-S99-1 + Details
Name: | us-gaap_TreasuryStockSharesAcquired
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_CommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_TreasuryStockCommonMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |