<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0609</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2026-04-09</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

    <issuer>
        <issuerCik>0001073404</issuerCik>
        <issuerName>GERDAU S.A.</issuerName>
        <issuerTradingSymbol>GGB</issuerTradingSymbol>
        <issuerForeignTradingSymbol>GGBR</issuerForeignTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0002120458</rptOwnerCik>
            <rptOwnerName>Wahrhaftig Marcos Eduardo Faraco</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerNonUSAddressFlag>true</rptOwnerNonUSAddressFlag>
            <rptOwnerStreet1>AVENUE DOUTORA RUTH DE CARDOSO, 8501</rptOwnerStreet1>
            <rptOwnerStreet2>8TH FLOOR, PINHEIROS</rptOwnerStreet2>
            <rptOwnerCity>SAO PAULO</rptOwnerCity>
            <rptOwnerNonUSStateTerritory>SAO PAULO</rptOwnerNonUSStateTerritory>
            <rptOwnerCountry>D5</rptOwnerCountry>
            <rptOwnerZipCode>05425-070</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>0</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>1</isOther>
            <otherText>Executive Vice President</otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>0</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Preferred shares</value>
            </securityTitle>
            <transactionDate>
                <value>2026-04-09</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness>
                <value></value>
            </transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>12419</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>4.06</value>
                    <footnoteId id="F1"/>
                    <footnoteId id="F2"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>0</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable>
        <derivativeHolding>
            <securityTitle>
                <value>Restricted Stock Units</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>3.84</value>
                <footnoteId id="F1"/>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2027-02-12</value>
            </exerciseDate>
            <expirationDate>
                <value>2027-02-12</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Preferred shares</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>6395</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>6395</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Restricted Stock Units</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>3.75</value>
                <footnoteId id="F1"/>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2027-08-01</value>
            </exerciseDate>
            <expirationDate>
                <value>2027-08-01</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Preferred shares</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>71832</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>71832</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Restricted Stock Units</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>3.73</value>
                <footnoteId id="F1"/>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2027-09-01</value>
            </exerciseDate>
            <expirationDate>
                <value>2027-09-01</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Preferred shares</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>229331</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>229331</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Restricted Stock Units</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>3.6</value>
                <footnoteId id="F1"/>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2028-02-12</value>
            </exerciseDate>
            <expirationDate>
                <value>2028-02-12</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Preferred shares</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>7789</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>7789</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Restricted Stock Units</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>4.1</value>
                <footnoteId id="F1"/>
            </conversionOrExercisePrice>
            <exerciseDate>
                <value>2029-02-12</value>
            </exerciseDate>
            <expirationDate>
                <value>2029-02-12</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Preferred shares</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>6850</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>6850</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeHolding>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">The price is denominated in Brazilian reais and has been translated into U.S. dollars at the April 9, 2026 selling rate of R$5.0821 per US$1.00, as reported by the Central Bank of Brazil.</footnote>
        <footnote id="F2">The price reported in Column 4 is a weighted average price. There shares were sold in multiple transactions at prices ranging from $4.05 to $4.06, inclusive.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Marcos Eduardo Faraco Wahrhaftig</signatureName>
        <signatureDate>2026-04-13</signatureDate>
    </ownerSignature>
</ownershipDocument>
